C# Class ImageProcessor.Configuration.NativeBinaryFactory

Controls the loading and unloading of any native binaries required by ImageProcessor.
Inheritance: IDisposable
Afficher le fichier Open project: JimBobSquarePants/ImageProcessor

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes the object and frees resources for the Garbage Collector.

Private Methods

Méthode Description
FreeNativeBinaries ( ) : void

Frees the reference to the native binaries.

Method Details

Dispose() public méthode

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

Dispose() protected méthode

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

NativeBinaryFactory() public méthode

Initializes a new instance of the NativeBinaryFactory class.
public NativeBinaryFactory ( ) : System
Résultat System

RegisterNativeBinary() public méthode

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. ///
Résultat void