Changeset 15529 for branches/PersistenceReintegration/HeuristicLab.Persistence/4.0/Core/StorableConversionAttribute.cs
- Timestamp:
- 12/15/17 13:26:49 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Persistence/4.0/Core/StorableConversionAttribute.cs
r15034 r15529 27 27 public sealed class StorableConversionAttribute : Attribute { 28 28 public Guid Guid { get; private set; } 29 public uint SrcVersion { get; private set; }29 public uint Version { get; private set; } 30 30 31 public StorableConversionAttribute(string guid, uint srcVersion) {31 public StorableConversionAttribute(string guid, uint version) { 32 32 this.Guid = new Guid(guid); 33 this. SrcVersion = srcVersion;33 this.Version = version; 34 34 } 35 35 … … 45 45 } 46 46 public static uint GetVersion(MethodInfo mi) { 47 return GetStorableConversionAttribute(mi). SrcVersion;47 return GetStorableConversionAttribute(mi).Version; 48 48 } 49 49 }
Note: See TracChangeset
for help on using the changeset viewer.