Search Results for

    Show / Hide Table of Contents

    Class SelectingProcessorAccessor

    An IProcessorAccessor implementation that selects one generator by name

    Inheritance
    Object
    SelectingProcessorAccessor
    Implements
    IProcessorAccessor
    Namespace: FluentMigrator.Runner.Processors
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public class SelectingProcessorAccessor : object, IProcessorAccessor

    Constructors

    | Improve this Doc View Source

    SelectingProcessorAccessor(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

    | Improve this Doc View Source

    Processor

    Gets the selected migration processor

    Declaration
    public IMigrationProcessor Processor { get; }
    Property Value
    Type Description
    IMigrationProcessor

    Implements

    IProcessorAccessor
    • Improve this Doc
    • View Source
    In This Article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.