public IEnumerable <Type> GetInterfaceTypes(string interfaceName) { return(from type in MagickNET.GetTypes() from interfaceType in type.GetInterfaces() where interfaceType.Name == interfaceName && type.IsPublic && !type.IsInterface && !type.IsAbstract orderby type.Name select type); }
private IEnumerable <MethodInfo[]> GetGroupedMethods(string name) { return(from type in MagickNET.GetTypes() where type.Name == name from method in type.GetMethods() where IsSupported(method) group method by method.Name into g orderby g.Key select g.OrderBy(m => m.GetParameters().Count()).ToArray()); }
protected IEnumerable <Type> GetTypes() { return(MagickNET.GetTypes()); }