Search Results for

    Show / Hide Table of Contents

    Class AssemblyCollectionService

    A compatibility service to get the assembly collection from the found migrations

    Inheritance
    object
    AssemblyCollectionService
    Implements
    IAssemblyCollection
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.Initialization
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    [Obsolete("Exists only to simplify the migration to the new FluentMigration version")]
    public class AssemblyCollectionService : IAssemblyCollection

    Constructors

    AssemblyCollectionService(IAssemblySource)

    Initializes a new instance of the AssemblyCollectionService class.

    Declaration
    public AssemblyCollectionService(IAssemblySource source)
    Parameters
    Type Name Description
    IAssemblySource source

    The source assemblies used to search for types with given traits

    Properties

    Assemblies

    Gets the Assemblies contained in this collection

    Declaration
    public Assembly[] Assemblies { get; }
    Property Value
    Type Description
    Assembly[]

    Methods

    GetExportedTypes()

    The result of this method is equivalent to calling GetExportedTypes on each Assembly in Assemblies.

    Declaration
    public Type[] GetExportedTypes()
    Returns
    Type Description
    Type[]

    The array of exported types

    GetManifestResourceNames()

    Gets a array of resources defined in each of the assemblies that are contained in this collection, plus which assembly it is defined in.

    Declaration
    public ManifestResourceNameWithAssembly[] GetManifestResourceNames()
    Returns
    Type Description
    ManifestResourceNameWithAssembly[]

    An array of value pairs of resource name plus assembly.

    Implements

    IAssemblyCollection
    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.