Namespace: Lithnet.Ecma2Framework
Context initializers are called before each import, export or password operation to allow the management agent to perform any required initialization. While import and export providers are each initialized at the start of the operation, context initializers are called only once prior to all operations.
public interface IContextInitializer
Initializes the context prior to any import providers being initialized
Task InitializeImportAsync(ImportContext context)
context
ImportContext
The ImportContext to be shared by the import providers
Task
A task that represents the asynchronous operation
Initializes the context prior to any export providers being initialized
Task InitializeExportAsync(ExportContext context)
context
ExportContext
The ExportContext to be shared by the export providers
Task
A task that represents the asynchronous operation
Initializes the context prior to any password providers being initialized
Task InitializePasswordOperationAsync(PasswordContext context)
context
PasswordContext
The PasswordContext to be shared by the password providers
Task
A task that represents the asynchronous operation