예제 #1
0
 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);
 }
예제 #2
0
 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());
 }
예제 #3
0
 protected IEnumerable <Type> GetTypes()
 {
     return(MagickNET.GetTypes());
 }