Search Results for

    Show / Hide Table of Contents

    Class SelectingGeneratorAccessor

    An IGeneratorAccessor implementation that selects one generator by name

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

    Constructors

    | Edit this page View Source

    SelectingGeneratorAccessor(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 Source

    Generator

    Gets the selected migration generator

    Declaration
    public IMigrationGenerator Generator { get; }
    Property Value
    Type Description
    IMigrationGenerator

    Implements

    IGeneratorAccessor
    • 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.