Class AssemblyCollectionService
A compatibility service to get the assembly collection from the found migrations
Implements
Inherited Members
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
| Edit this page View SourceAssemblyCollectionService(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
| Edit this page View SourceAssemblies
Gets the Assemblies contained in this collection
Declaration
public Assembly[] Assemblies { get; }
Property Value
Type | Description |
---|---|
Assembly[] |
Methods
| Edit this page View SourceGetExportedTypes()
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. |