Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/01/11 17:33:56 (12 years ago)
Author:
mkommend
Message:

#1689: Corrected ApplicationManagers by introducing a new parameter in the GetTypes method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.cs

    r6954 r7111  
    128128          pluginNode.Tag = plugin;
    129129
    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)
    131131                      where typeCondition(t)
    132132                      orderby t.Name ascending
     
    134134          foreach (Type type in types) {
    135135            bool valid = true;
    136             valid = valid && (ShowGenericTypes || !type.ContainsGenericParameters);
    137136            valid = valid && (ShowNotInstantiableTypes || type.GetConstructor(Type.EmptyTypes) != null); //check for public default ctor
    138137            if (valid) {
Note: See TracChangeset for help on using the changeset viewer.