Class ImageCreatorsRegistry
Represents the image creators registry.
public static class ImageCreatorsRegistry
- Inheritance
-
ImageCreatorsRegistry
- Inherited Members
Properties
RegisteredDescriptors
Gets the registered descriptors.
public static IImageCreatorDescriptor[] RegisteredDescriptors { get; }
Property Value
- IImageCreatorDescriptor[]
The registered descriptors.
RegisteredFormats
Gets the registered image creation formats.
public static FileFormat RegisteredFormats { get; }
Property Value
- FileFormat
The registered image creation formats.
Methods
CreateFirstSupportedCreator(ImageOptionsBase)
Creates the first found creator suitable for the specified.
public static IImageCreator CreateFirstSupportedCreator(ImageOptionsBase imageOptions)
Parameters
imageOptions
ImageOptionsBaseThe image options.
Returns
- IImageCreator
The creator which supports the specified or null if no such creator is found.
Remarks
The first creator will be actually the last registered.
GetFirstSupportedDescriptor(ImageOptionsBase)
Gets the fist found supported descriptor suitable for the specified.
public static IImageCreatorDescriptor GetFirstSupportedDescriptor(ImageOptionsBase imageOptions)
Parameters
imageOptions
ImageOptionsBaseThe image options.
Returns
- IImageCreatorDescriptor
The creator descriptor which supports the specified or null if no such descriptor is found.
Remarks
The first creator descriptor will be actually the last registered.
Register(IImageCreatorDescriptor)
Registers the specified image creator descriptor.
public static void Register(IImageCreatorDescriptor imageCreatorDescriptor)
Parameters
imageCreatorDescriptor
IImageCreatorDescriptorThe image creator descriptor.
RegisterCreator(IImageCreatorDescriptor)
Registers the creator.
public static void RegisterCreator(IImageCreatorDescriptor creatorDescriptor)
Parameters
creatorDescriptor
IImageCreatorDescriptorThe creator descriptor to register.
UnregisterCreator(IImageCreatorDescriptor)
Unregisters the creator.
public static void UnregisterCreator(IImageCreatorDescriptor creatorDescriptor)
Parameters
creatorDescriptor
IImageCreatorDescriptorThe creator descriptor.