Changeset 5741 for trunk/sources/HeuristicLab.PluginInfrastructure/3.3/LightweightApplicationManager.cs
- Timestamp:
- 03/17/11 17:02:34 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/LightweightApplicationManager.cs
r5445 r5741 122 122 where CheckTypeCompatibility(type, t) 123 123 where onlyInstantiable == false || (!t.IsAbstract && !t.IsInterface && !t.HasElementType) 124 where !IsNonDiscoverableType(t) 124 125 select BuildType(t, type); 125 126 } … … 130 131 return Enumerable.Empty<Type>(); 131 132 } 133 } 134 135 private static bool IsNonDiscoverableType(Type t) { 136 return t.GetCustomAttributes(typeof(NonDiscoverableTypeAttribute), false).Any(); 132 137 } 133 138
Note: See TracChangeset
for help on using the changeset viewer.