Class DefaultEmbeddedResourceProvider
The default implementation of the IEmbeddedResourceProvider interface
Implements
Inherited Members
Namespace: FluentMigrator.Infrastructure
Assembly: FluentMigrator.Abstractions.dll
Syntax
public class DefaultEmbeddedResourceProvider : IEmbeddedResourceProvider
Constructors
| Edit this page View SourceDefaultEmbeddedResourceProvider(IAssemblyCollection)
Initializes a new instance of the DefaultEmbeddedResourceProvider class.
Declaration
[Obsolete]
public DefaultEmbeddedResourceProvider(IAssemblyCollection assemblyCollection)
Parameters
Type | Name | Description |
---|---|---|
IAssemblyCollection | assemblyCollection | The assembly collection to get the ebmedded resources for |
DefaultEmbeddedResourceProvider(IEnumerable<Assembly>)
Initializes a new instance of the DefaultEmbeddedResourceProvider class.
Declaration
public DefaultEmbeddedResourceProvider(IEnumerable<Assembly> assemblies)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Assembly> | assemblies | The assemblies to be scanned for the embedded resources |
DefaultEmbeddedResourceProvider(params Assembly[])
Initializes a new instance of the DefaultEmbeddedResourceProvider class.
Declaration
public DefaultEmbeddedResourceProvider(params Assembly[] assemblies)
Parameters
Type | Name | Description |
---|---|---|
Assembly[] | assemblies | The assemblies to be scanned for the embedded resources |
Methods
| Edit this page View SourceGetEmbeddedResources()
Gets all embedded resources
Declaration
public IEnumerable<(string name, Assembly assembly)> GetEmbeddedResources()
Returns
Type | Description |
---|---|
IEnumerable<(string name, Assembly assembly)> | A tuple for every embedded resource and the containing assembly |