C# Class WebKit.ActivationContext

A simple interface to the Windows Activation Context API.
Activation context switching is required here to support registration free COM interop. Ordinarily this can be achieved by embedding an application manifest with mappings to COM objects in the assembly, however this does not work in a class library. Instead we create an activation context which explicitly loads a manifest and activate this context when we need to create a COM object.
Inheritance: IDisposable
Afficher le fichier Open project: davejohnson/webkit-dot-net

Méthodes publiques

Méthode Description
Activate ( ) : void

Activates the activation context.

ActivationContext ( string ManifestFileName ) : System

Constructor for ActivationContext.

Deactivate ( ) : void

Deactivates the activation context, activating the next one down on the 'stack'.

Dispose ( ) : void
Initialize ( ) : void

Initializes the activation context.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Activate() public méthode

Activates the activation context.
public Activate ( ) : void
Résultat void

ActivationContext() public méthode

Constructor for ActivationContext.
public ActivationContext ( string ManifestFileName ) : System
ManifestFileName string Path of the manifest file to load.
Résultat System

Deactivate() public méthode

Deactivates the activation context, activating the next one down on the 'stack'.
public Deactivate ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Initialize() public méthode

Initializes the activation context.
public Initialize ( ) : void
Résultat void