Class SingleAssembly
A simple wrapper which is equivalent to a collection with a single Assembly
Implements
Inherited Members
Namespace: FluentMigrator.Infrastructure
Assembly: FluentMigrator.Abstractions.dll
Syntax
[Obsolete]
public class SingleAssembly : IAssemblyCollection
Constructors
| Edit this page View SourceSingleAssembly(Assembly)
Initializes a new instance of the SingleAssembly class.
Declaration
public SingleAssembly(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | The assembly |
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. |