IContextInitializer
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.
Methods
InitializeImportAsync(ImportContext)
Initializes the context prior to any import providers being initialized
Parameters
context
ImportContext
The ImportContext to be shared by the import providers
Returns
Task A task that represents the asynchronous operation
InitializeExportAsync(ExportContext)
Initializes the context prior to any export providers being initialized
Parameters
context
ExportContext
The ExportContext to be shared by the export providers
Returns
Task A task that represents the asynchronous operation
InitializePasswordOperationAsync(PasswordContext)
Initializes the context prior to any password providers being initialized
Parameters
context
PasswordContext
The PasswordContext to be shared by the password providers
Returns
Task A task that represents the asynchronous operation
Last updated