- Timestamp:
- 07/08/19 00:23:12 (5 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Persistence
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Persistence merged: 16585,16595,16625,16658,16796-16797,16799,16945
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableMemberInfo.cs
r17097 r17105 41 41 } 42 42 public StorableMemberInfo(StorableAttribute attribute, MemberInfo memberInfo) { 43 DisentangledName = attribute.Name;43 DisentangledName = string.IsNullOrEmpty(attribute.OldName) ? attribute.Name : attribute.OldName; 44 44 DefaultValue = attribute.DefaultValue; 45 45 MemberInfo = memberInfo; 46 if ( !attribute.AllowOneWay)46 if (string.IsNullOrEmpty(attribute.OldName) && !attribute.AllowOneWay) 47 47 CheckPropertyAccess(memberInfo as PropertyInfo); 48 48 } -
stable/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableSerializer.cs
r17097 r17105 34 34 /// <summary> 35 35 /// Intended for serialization of all custom classes. Classes should have the 36 /// <c>[Storable Class]</c> attribute set. The default mode is to serialize36 /// <c>[StorableType]</c> attribute set. The default mode is to serialize 37 37 /// members with the <c>[Storable]</c> attribute set. Alternatively the 38 38 /// storable mode can be set to <c>AllFields</c>, <c>AllProperties</c>
Note: See TracChangeset
for help on using the changeset viewer.