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