Changeset 4658 for branches/CloningRefactoring/HeuristicLab.Persistence/3.3/Default/CompositeSerializers
- Timestamp:
- 10/29/10 14:48:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableClassAttribute.cs
r4068 r4658 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.