Class NoopMigration
Represents a migration that intentionally performs no actions when executed. This can be used as a placeholder or for scenarios where a migration step is required but no changes are needed.
Namespace: Umbraco.Cms.Infrastructure.Migrations
Assembly: Umbraco.Infrastructure.dll
Syntax
public class NoopMigration : AsyncMigrationBase, IDiscoverable
Constructors
View SourceNoopMigration(IMigrationContext)
Initializes a new instance of the NoopMigration class with the specified migration context.
Declaration
public NoopMigration(IMigrationContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| IMigrationContext | context | The IMigrationContext to use for the migration. |
Methods
View SourceMigrateAsync()
Executes the migration.
Declaration
protected override Task MigrateAsync()
Returns
| Type | Description |
|---|---|
| Task |