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
  • Configure(IConfigurationBuilder)
  • SetupServices(IServiceCollection, IConfigParameters)
  1. Advanced
  2. API Reference

IEcmaStartup

PreviousICSEntryChangeCollectionNextImportContext

Last updated 1 year ago

Namespace: Lithnet.Ecma2Framework

Defines the methods and properties that a start up class must implement

public interface IEcmaStartup

Methods

Configure(IConfigurationBuilder)

This method is called when the ECMA2 framework is initializing. Use this method to configure the configuration builder.

void Configure(IConfigurationBuilder builder)

Parameters

builder IConfigurationBuilder The configuration builder to configure

SetupServices(IServiceCollection, IConfigParameters)

This method is called when the ECMA2 framework is initializing. Use this method to register your custom services with the DI container.

void SetupServices(IServiceCollection services, IConfigParameters configParameters)

Parameters

services IServiceCollection A collection of services to add your custom services to

configParameters The configuration parameters as made available from the Microsoft Identity Management service

IConfigParameters