public AllTypesMatching ( bool>.Func |
||
predicate | bool>.Func | /// Specifies a predicate that evaluates each exported type in the assembly. /// |
return | IEnumerable |
public IEnumerable<Type> AllTypesMatching(Func<Type, bool> predicate)
{
Debug.Assert(predicate != null);
return _assembly.GetExportedTypes().Where(predicate);
}