Class SelectingGeneratorAccessor
An IGeneratorAccessor implementation that selects one generator by name
Implements
Inherited Members
Namespace: FluentMigrator.Runner.Generators
Assembly: FluentMigrator.Runner.Core.dll
Syntax
public class SelectingGeneratorAccessor : IGeneratorAccessor
  Constructors
| Edit this page View SourceSelectingGeneratorAccessor(IEnumerable<IMigrationGenerator>, IOptionsSnapshot<SelectingGeneratorAccessorOptions>, IOptionsSnapshot<SelectingProcessorAccessorOptions>)
Initializes a new instance of the SelectingGeneratorAccessor class.
Declaration
public SelectingGeneratorAccessor(IEnumerable<IMigrationGenerator> generators, IOptionsSnapshot<SelectingGeneratorAccessorOptions> options, IOptionsSnapshot<SelectingProcessorAccessorOptions> processorSelectorOptions)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IEnumerable<IMigrationGenerator> | generators | The generators to select from  | 
      
| IOptionsSnapshot<SelectingGeneratorAccessorOptions> | options | The options used to determine the generator to be returned  | 
      
| IOptionsSnapshot<SelectingProcessorAccessorOptions> | processorSelectorOptions | The processor selector options  | 
      
Properties
| Edit this page View SourceGenerator
Gets the selected migration generator
Declaration
public IMigrationGenerator Generator { get; }
  Property Value
| Type | Description | 
|---|---|
| IMigrationGenerator |