Builder extension methods to register services in DI.
Adds the services required to read migrations configurations.
This methods adds to DI a singletons the following services:
IScriptHasher
, IScriptReaderService
and IEmbeddedConfigurationStoreService
.
public IKpokPatagonBuilder AddConfigurationReadingServices(builder)
Name | Type | Summary |
---|---|---|
builder | IKpokPatagonBuilder | An IKpokPatagonBuilder. |
Adds the ScriptExecutorService to DI.
public IKpokPatagonBuilder AddScriptExecutorService(builder, name, options)
Name | Type | Summary |
---|---|---|
builder | IKpokPatagonBuilder | An IKpokPatagonBuilder. |
name | String | The name of the script executor service. |
options | Action<ScriptExecutorServiceOptions> | Script executor service configuration options. |
Type | Summary |
---|---|
ArgumentException | Thrown when name is null or empty. |
ArgumentNullException | Thrown when options is null. |
Adds the TableDscService to DI.
public IKpokPatagonBuilder AddTableDscService(builder, name, options)
Name | Type | Summary |
---|---|---|
builder | IKpokPatagonBuilder | An IKpokPatagonBuilder. |
name | String | The name of the table DSC service. |
options | Action<TableDscServiceOptions> | Table DSC service configuration options. |
Type | Summary |
---|---|
ArgumentException | Thrown when name is null or empty. |
ArgumentNullException | Thrown when options is null. |
In this document