C# Class ImageProcessor.Configuration.ImageProcessorBootstrapper

The ImageProcessor bootstrapper containing initialization code for extending ImageProcessor.
Afficher le fichier Open project: JimBobSquarePants/ImageProcessor

Méthodes publiques

Méthode Description
AddImageFormats ( ) : void

Adds the given image formats to the supported format list. Useful for when the type finder fails to dynamically add the supported formats.

SetLogger ( ILogger logger ) : void

Allows the setting of the default logger. Useful for when the type finder fails to dynamically add the custom logger implementation.

Private Methods

Méthode Description
ImageProcessorBootstrapper ( ) : System

Prevents a default instance of the ImageProcessorBootstrapper class from being created.

LoadLogger ( ) : void

Loads the logger.

LoadSupportedImageFormats ( ) : void

Creates a list, using reflection, of supported image formats that ImageProcessor can run.

Method Details

AddImageFormats() public méthode

Adds the given image formats to the supported format list. Useful for when the type finder fails to dynamically add the supported formats.
public AddImageFormats ( ) : void
Résultat void

SetLogger() public méthode

Allows the setting of the default logger. Useful for when the type finder fails to dynamically add the custom logger implementation.
public SetLogger ( ILogger logger ) : void
logger ILogger
Résultat void