Class AssemblySourceConventionSetAccessor
Implements
Inherited Members
Namespace: FluentMigrator.Runner.Initialization
Assembly: FluentMigrator.Runner.Core.dll
Syntax
public class AssemblySourceConventionSetAccessor : IConventionSetAccessor
Constructors
| Edit this page View SourceAssemblySourceConventionSetAccessor(IOptionsSnapshot<TypeFilterOptions>, IEnumerable<ITypeSourceItem<IConventionSet>>, IServiceProvider, IAssemblySource)
Initializes a new instance of the AssemblySourceVersionTableMetaDataAccessor class.
Declaration
public AssemblySourceConventionSetAccessor(IOptionsSnapshot<TypeFilterOptions> typeFilterOptions, IEnumerable<ITypeSourceItem<IConventionSet>> sources, IServiceProvider serviceProvider, IAssemblySource assemblySource = null)
Parameters
Type | Name | Description |
---|---|---|
IOptionsSnapshot<TypeFilterOptions> | typeFilterOptions | The type filter options |
IEnumerable<ITypeSourceItem<IConventionSet>> | sources | The sources to get type candidates |
IServiceProvider | serviceProvider | The service provider used to instantiate the found IConventionSet implementation |
IAssemblySource | assemblySource | The assemblies used to search for the IConventionSet implementation |
Methods
| Edit this page View SourceGetConventionSet()
Get the convention set to use.
Declaration
public IConventionSet GetConventionSet()
Returns
Type | Description |
---|---|
IConventionSet | The convention set. |