Class MigrationConventionsExtensions
Extension methods for IMigrationRunnerConventions.
Inherited Members
Namespace: FluentMigrator.Runner
Assembly: FluentMigrator.Runner.Core.dll
Syntax
public static class MigrationConventionsExtensions
Methods
| Edit this page View SourceHasRequestedTags(IMigrationRunnerConventions, Type, string[], bool)
Returns a value indicating whether the type matches the given tag list.
Declaration
public static bool HasRequestedTags(this IMigrationRunnerConventions conventions, Type type, string[] tagsList, bool includeUntagged)
Parameters
Type | Name | Description |
---|---|---|
IMigrationRunnerConventions | conventions | The conventions to use. |
Type | type | The type to validate. |
string[] | tagsList | The list of tags to check against. |
bool | includeUntagged | Allow untagged entries. |
Returns
Type | Description |
---|---|
bool | true when the requested tags match the tags attached to the type. |