C# Class ImageProcessor.Configuration.ImageProcessorBootstrapper

The ImageProcessor bootstrapper containing initialization code for extending ImageProcessor.
Show file Open project: JimBobSquarePants/ImageProcessor

Public Methods

Method 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

Method 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 method

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
return void

SetLogger() public method

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
return void