- Timestamp:
- 12/01/11 17:33:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.cs
r6954 r7111 128 128 pluginNode.Tag = plugin; 129 129 130 var types = from t in ApplicationManager.Manager.GetTypes(BaseTypes, plugin, !ShowNotInstantiableTypes, assignableToAllTypes)130 var types = from t in ApplicationManager.Manager.GetTypes(BaseTypes, plugin, !ShowNotInstantiableTypes, ShowGenericTypes, assignableToAllTypes) 131 131 where typeCondition(t) 132 132 orderby t.Name ascending … … 134 134 foreach (Type type in types) { 135 135 bool valid = true; 136 valid = valid && (ShowGenericTypes || !type.ContainsGenericParameters);137 136 valid = valid && (ShowNotInstantiableTypes || type.GetConstructor(Type.EmptyTypes) != null); //check for public default ctor 138 137 if (valid) {
Note: See TracChangeset
for help on using the changeset viewer.