Changeset 6702 for branches/PersistenceSpeedUp/HeuristicLab.Persistence/3.3/Core/Tokens/BeginToken.cs
- Timestamp:
- 09/02/11 16:03:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceSpeedUp/HeuristicLab.Persistence/3.3/Core/Tokens/BeginToken.cs
r5445 r6702 21 21 22 22 23 using HeuristicLab.Persistence.Interfaces; 23 24 namespace HeuristicLab.Persistence.Core.Tokens { 24 25 … … 27 28 /// Marks the beginning of a composite element. 28 29 /// </summary> 29 public class BeginToken : CompositeTokenBase { 30 public sealed class BeginToken : ISerializationToken { 31 32 /// <summary> 33 /// The type's id. 34 /// </summary> 35 public readonly int TypeId; 36 37 /// <summary> 38 /// The object's id for references in case it is a reference type. 39 /// </summary> 40 public readonly int? Id; 41 42 /// <summary> 43 /// The token's name. 44 /// </summary> 45 public readonly string Name; 30 46 31 47 /// <summary> … … 35 51 /// <param name="typeId">The type id.</param> 36 52 /// <param name="id">The object id.</param> 37 public BeginToken(string name, int typeId, int? id) : base(name, typeId, id) { } 53 public BeginToken(string name, int typeId, int? id) { 54 Name = name; 55 TypeId = typeId; 56 Id = id; 57 } 38 58 } 39 59
Note: See TracChangeset
for help on using the changeset viewer.