Changeset 7069 for trunk/sources/HeuristicLab.PluginInfrastructure/3.3/LightweightApplicationManager.cs
- Timestamp:
- 11/24/11 17:04:12 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/LightweightApplicationManager.cs
r7066 r7069 124 124 var assemblyTypes = assembly.GetTypes(); 125 125 126 return from t in assemblyTypes 127 where !IsNonDiscoverableType(t) 128 where CheckTypeCompatibility(type, t) 129 where onlyInstantiable == false || (!t.IsAbstract && !t.IsInterface && !t.HasElementType && !t.IsGenericTypeDefinition) 130 select BuildType(t, type); 126 var buildTypes = from t in assemblyTypes 127 where !IsNonDiscoverableType(t) 128 where CheckTypeCompatibility(type, t) 129 where onlyInstantiable == false || (!t.IsAbstract && !t.IsInterface && !t.HasElementType) 130 select BuildType(t, type); 131 132 return from t in buildTypes 133 where onlyInstantiable == false || !t.IsGenericTypeDefinition 134 select t; 131 135 } 132 136 catch (TypeLoadException) {
Note: See TracChangeset
for help on using the changeset viewer.