Class MigrationPlanOptionsBuilder
Default IMigrationPlanOptionsBuilder implementation.
Implements
Namespace: Tableau.Migration.Engine.Options
Assembly: Tableau.Migration.dll
Syntax
public class MigrationPlanOptionsBuilder : IMigrationPlanOptionsBuilder
Constructors
MigrationPlanOptionsBuilder()
Creates a new MigrationPlanOptionsBuilder object.
Declaration
public MigrationPlanOptionsBuilder()
Methods
Build()
Builds the options collection.
Declaration
public IMigrationPlanOptionsCollection Build()
Returns
Type | Description |
---|---|
IMigrationPlanOptionsCollection | The options collection. |
Configure<TOptions>(Func<IServiceProvider, TOptions>)
Sets the configuration for a given options type.
Declaration
public IMigrationPlanOptionsBuilder Configure<TOptions>(Func<IServiceProvider, TOptions> factory)
Parameters
Type | Name | Description |
---|---|---|
Func<IServiceProvider, TOptions> | factory | A factory function to create the options type. |
Returns
Type | Description |
---|---|
IMigrationPlanOptionsBuilder | The same options builder, for fluent API usage. |
Type Parameters
Name | Description |
---|---|
TOptions | The options type. |
Configure<TOptions>(TOptions)
Sets the configuration for a given options type.
Declaration
public IMigrationPlanOptionsBuilder Configure<TOptions>(TOptions opts)
Parameters
Type | Name | Description |
---|---|---|
TOptions | opts | The options. |
Returns
Type | Description |
---|---|
IMigrationPlanOptionsBuilder | The same options builder, for fluent API usage. |
Type Parameters
Name | Description |
---|---|
TOptions | The options type. |