Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Persistence/3.3/Core/Tag.cs @ 3010

Last change on this file since 3010 was 3004, checked in by epitzer, 15 years ago

add complete persistence API docs (#548)

File size: 537 bytes
Line 
1using System.Collections.Generic;
2
3namespace 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.