- Timestamp:
- 03/17/11 17:02:34 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/DefaultApplicationManager.cs
r5632 r5741 258 258 return from t in assembly.GetTypes() 259 259 where CheckTypeCompatibility(type, t) 260 where onlyInstantiable == false || (!t.IsAbstract && !t.IsInterface && !t.HasElementType) 260 where onlyInstantiable == false || 261 (!t.IsAbstract && !t.IsInterface && !t.HasElementType) 262 where !IsNonDiscoverableType(t) 261 263 select BuildType(t, type); 264 } 265 266 private static bool IsNonDiscoverableType(Type t) { 267 return t.GetCustomAttributes(typeof(NonDiscoverableTypeAttribute), false).Any(); 262 268 } 263 269
Note: See TracChangeset
for help on using the changeset viewer.