Changeset 14771 for branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable
- Timestamp:
- 03/20/17 15:56:55 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableTypeAttribute.cs
r14711 r14771 37 37 38 38 public Guid Guid { get; private set; } 39 public bool Released{ get; set; }39 public uint Version { get; set; } 40 40 41 41 /// <summary> … … 43 43 /// </summary> 44 44 /// <param name="memberSelection">The storable class memberSelection.</param> 45 public StorableTypeAttribute(StorableMemberSelection memberSelection, string guid ) {45 public StorableTypeAttribute(StorableMemberSelection memberSelection, string guid, uint version = 1) { 46 46 MemberSelection = memberSelection; 47 47 Guid = new Guid(guid); 48 Released = false;48 Version = version; 49 49 } 50 50 51 public StorableTypeAttribute(string guid ) {51 public StorableTypeAttribute(string guid, uint version = 1) { 52 52 Guid = new Guid(guid); 53 Released = false;53 Version = version; 54 54 } 55 55
Note: See TracChangeset
for help on using the changeset viewer.