Class SelectingProcessorAccessor
An IProcessorAccessor implementation that selects one generator by name
Implements
Inherited Members
Namespace: FluentMigrator.Runner.Processors
Assembly: FluentMigrator.Runner.Core.dll
Syntax
public class SelectingProcessorAccessor : IProcessorAccessor
Constructors
| Edit this page View SourceSelectingProcessorAccessor(IEnumerable<IMigrationProcessor>, IOptionsSnapshot<SelectingProcessorAccessorOptions>, IOptionsSnapshot<SelectingGeneratorAccessorOptions>, IServiceProvider)
Initializes a new instance of the SelectingProcessorAccessor class.
Declaration
public SelectingProcessorAccessor(IEnumerable<IMigrationProcessor> processors, IOptionsSnapshot<SelectingProcessorAccessorOptions> options, IOptionsSnapshot<SelectingGeneratorAccessorOptions> generatorSelectorOptions, IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IMigrationProcessor> | processors | The processors to select from |
IOptionsSnapshot<SelectingProcessorAccessorOptions> | options | The options used to determine the processor to be returned |
IOptionsSnapshot<SelectingGeneratorAccessorOptions> | generatorSelectorOptions | The generator selector options |
IServiceProvider | serviceProvider | The service provider |
Properties
| Edit this page View SourceProcessor
Gets the selected migration processor
Declaration
public IMigrationProcessor Processor { get; }
Property Value
Type | Description |
---|---|
IMigrationProcessor |