Line | |
---|
1 | using System.Collections.Generic;
|
---|
2 |
|
---|
3 | namespace HeuristicLab.Persistence.Core {
|
---|
4 |
|
---|
5 | /// <summary>
|
---|
6 | /// Vehicle used inside the serialization/deserizalisation process
|
---|
7 | /// between composite serializers and the core.
|
---|
8 | /// </summary>
|
---|
9 | public class Tag {
|
---|
10 | public string Name { get; private set; }
|
---|
11 | public object Value { get; set; }
|
---|
12 |
|
---|
13 | public Tag(string name, object value) {
|
---|
14 | Name = name;
|
---|
15 | Value = value;
|
---|
16 | }
|
---|
17 |
|
---|
18 | public Tag(object value) {
|
---|
19 | Name = null;
|
---|
20 | Value = value;
|
---|
21 | }
|
---|
22 | }
|
---|
23 |
|
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.