Search Results for

    Show / Hide Table of Contents

    Class SelectingProcessorAccessor

    An IProcessorAccessor implementation that selects one generator by name

    Inheritance
    object
    SelectingProcessorAccessor
    Implements
    IProcessorAccessor
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.Processors
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public class SelectingProcessorAccessor : IProcessorAccessor

    Constructors

    | Edit this page 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

    | Edit this page View Source

    Processor

    Gets the selected migration processor

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

    Implements

    IProcessorAccessor
    • Edit this page
    • 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.