//===========================================================================================
 private ExceptionGenerator()
     : base(@"GraphicsMagick.NET.AnyCPU\Generated")
 {
     _Exceptions = (from type in GraphicsMagickNET.GetPublicTypes(false)
                    where type.IsSubclassOf(typeof(Exception))
                    select type).ToArray();
 }
示例#2
0
 //===========================================================================================
 protected Type[] GetTypes(bool withEnums)
 {
     return((from type in GraphicsMagickNET.GetPublicTypes(withEnums)
             where !type.IsSubclassOf(typeof(Exception))
             orderby type.Name
             select type).ToArray());
 }