ECMA2 Framework
Home
  • Home
  • Using the Framework
    • Getting started
    • Definining the schema
    • Definining capabilites
    • Defining configuration parameters
    • Using the ProducerConsumerImportProvider
    • Building single-file assemblies
  • Additional resources
    • Example projects
      • Lithnet Okta Management Agent
      • Simple example
    • Troubleshooting
    • Change log
  • Advanced
    • API Reference
      • CapabilitiesConfigurationAttribute
      • CheckboxParameterAttribute
      • ConnectivityConfigurationAttribute
      • DataParameterAttribute
      • DividerParameterAttribute
      • DropdownParameterAttribute
      • Ecma2FrameworkOptions
      • EncryptedStringParameterAttribute
      • ExportContext
      • FileParameterAttribute
      • GlobalConfigurationAttribute
      • ICapabilitiesProvider
      • IConfigParameters
      • IConfigParametersProvider
      • IContextInitializer
      • ICSEntryChangeCollection
      • IEcmaStartup
      • ImportContext
      • IObjectExportProvider
      • IObjectImportProvider
      • IObjectPasswordProvider
      • ISchemaProvider
      • LabelParameterAttribute
      • MultilineTextboxParameterAttribute
      • ParameterAttribute
      • PartitionConfigurationAttribute
      • PasswordContext
      • ProducerConsumerImportProvider<TObject>
      • RunStepConfigurationAttribute
      • SchemaConfigurationAttribute
      • StringParameterAttribute
      • UIParameterAttribute
Powered by GitBook
On this page
  • Methods
  • InitializeImportAsync(ImportContext)
  • InitializeExportAsync(ExportContext)
  • InitializePasswordOperationAsync(PasswordContext)
  1. Advanced
  2. API Reference

IContextInitializer

PreviousIConfigParametersProviderNextICSEntryChangeCollection

Last updated 1 year ago

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

Methods

InitializeImportAsync(ImportContext)

Initializes the context prior to any import providers being initialized

Task InitializeImportAsync(ImportContext context)

Parameters

context The ImportContext to be shared by the import providers

Returns

A task that represents the asynchronous operation

InitializeExportAsync(ExportContext)

Initializes the context prior to any export providers being initialized

Task InitializeExportAsync(ExportContext context)

Parameters

Returns

InitializePasswordOperationAsync(PasswordContext)

Initializes the context prior to any password providers being initialized

Task InitializePasswordOperationAsync(PasswordContext context)

Parameters

Returns

context The ExportContext to be shared by the export providers

A task that represents the asynchronous operation

context The PasswordContext to be shared by the password providers

A task that represents the asynchronous operation

ImportContext
Task
ExportContext
Task
PasswordContext
Task