Changeset 7066
- Timestamp:
- 11/24/11 14:49:35 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.PluginInfrastructure/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/LightweightApplicationManager.cs
r5903 r7066 125 125 126 126 return from t in assemblyTypes 127 where !IsNonDiscoverableType(t) 127 128 where CheckTypeCompatibility(type, t) 128 where onlyInstantiable == false || (!t.IsAbstract && !t.IsInterface && !t.HasElementType) 129 where !IsNonDiscoverableType(t) 129 where onlyInstantiable == false || (!t.IsAbstract && !t.IsInterface && !t.HasElementType && !t.IsGenericTypeDefinition) 130 130 select BuildType(t, type); 131 131 } -
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/SandboxApplicationManager.cs
r6538 r7066 263 263 private static IEnumerable<Type> GetTypes(Type type, Assembly assembly, bool onlyInstantiable) { 264 264 return from t in assembly.GetTypes() 265 where !IsNonDiscoverableType(t) 265 266 where CheckTypeCompatibility(type, t) 266 267 where onlyInstantiable == false || 267 (!t.IsAbstract && !t.IsInterface && !t.HasElementType) 268 where !IsNonDiscoverableType(t) 268 (!t.IsAbstract && !t.IsInterface && !t.HasElementType && !t.IsGenericTypeDefinition) 269 269 select BuildType(t, type); 270 270 }
Note: See TracChangeset
for help on using the changeset viewer.