C# Class ImageProcessor.Configuration.NativeBinaryFactory

Controls the loading and unloading of any native binaries required by ImageProcessor.
Inheritance: IDisposable
ファイルを表示 Open project: JimBobSquarePants/ImageProcessor

Public Methods

Method Description
Dispose ( ) : void

Disposes the object and frees resources for the Garbage Collector.

NativeBinaryFactory ( ) : System

Initializes a new instance of the NativeBinaryFactory class.

RegisterNativeBinary ( string name, byte resourceBytes ) : void

Registers any embedded native (unmanaged) binaries required by ImageProcessor.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes the object and frees resources for the Garbage Collector.

Private Methods

Method Description
FreeNativeBinaries ( ) : void

Frees the reference to the native binaries.

Method Details

Dispose() public method

Disposes the object and frees resources for the Garbage Collector.
public Dispose ( ) : void
return void

Dispose() protected method

Disposes the object and frees resources for the Garbage Collector.
protected Dispose ( bool disposing ) : void
disposing bool If true, the object gets disposed.
return void

NativeBinaryFactory() public method

Initializes a new instance of the NativeBinaryFactory class.
public NativeBinaryFactory ( ) : System
return System

RegisterNativeBinary() public method

Registers any embedded native (unmanaged) binaries required by ImageProcessor.
/// Thrown if the binary cannot be registered. ///
public RegisterNativeBinary ( string name, byte resourceBytes ) : void
name string /// The name of the native binary. ///
resourceBytes byte /// The resource bytes containing the native binary. ///
return void