- Timestamp:
- 12/05/11 13:28:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.cs
r7111 r7123 133 133 select t; 134 134 foreach (Type type in types) { 135 bool valid = true; 136 valid = valid && (ShowNotInstantiableTypes || type.GetConstructor(Type.EmptyTypes) != null); //check for public default ctor 135 bool valid = (ShowNotInstantiableTypes || type.GetConstructor(Type.EmptyTypes) != null); //check for public default ctor 137 136 if (valid) { 138 137 TreeNode typeNode = new TreeNode();
Note: See TracChangeset
for help on using the changeset viewer.