Changeset 12649 for trunk/sources/HeuristicLab.Core/3.3/Attributes
- Timestamp:
- 07/07/15 14:40:43 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Attributes/CreatableAttribute.cs
r12622 r12649 61 61 return tokens.Take(tokens.Count - 1); 62 62 } 63 64 63 private static IEnumerable<string> GetTokensWithOrdering(string rawName) { 65 64 return rawName.Split(new[] { SplitToken }, StringSplitOptions.RemoveEmptyEntries); … … 84 83 85 84 public int Priority { get; set; } 86 87 85 88 86 public CreatableAttribute() { … … 112 110 else return null; 113 111 } 114 115 112 public static int GetPriority(Type type) { 116 113 var attribs = type.GetCustomAttributes(typeof(CreatableAttribute), false);
Note: See TracChangeset
for help on using the changeset viewer.