Changeset 4722 for trunk/sources/HeuristicLab.Persistence/3.3/Default
- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableClassAttribute.cs
r4068 r4722 51 51 public StorableClassAttribute() { } 52 52 53 /// <summary> 54 /// Checks if the <see cref="StorableClassAttribute"/> is present on a type. 55 /// </summary> 56 /// <param name="type">The type which should be checked for the <see cref="StorableClassAttribute"/></param> 57 /// <returns></returns> 58 public static bool IsStorableClass(Type type) { 59 object[] attribs = type.GetCustomAttributes(typeof(StorableClassAttribute), false); 60 return attribs.Length > 0; 61 } 62 53 63 } 54 64 }
Note: See TracChangeset
for help on using the changeset viewer.