Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/11 14:49:35 (12 years ago)
Author:
mkommend
Message:

#1689: Filtered generic type definitions if only instantiable types should be discovered.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/LightweightApplicationManager.cs

    r5903 r7066  
    125125
    126126        return from t in assemblyTypes
     127               where !IsNonDiscoverableType(t)
    127128               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)
    130130               select BuildType(t, type);
    131131      }
Note: See TracChangeset for help on using the changeset viewer.