Search Results for

    Show / Hide Table of Contents
    View Source

    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.

    Inheritance
    object
    AsyncMigrationBase
    Namespace: Umbraco.Cms.Infrastructure.Migrations
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class NoopMigration : AsyncMigrationBase, IDiscoverable

    Constructors

    View Source

    NoopMigration(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 Source

    MigrateAsync()

    Executes the migration.

    Declaration
    protected override Task MigrateAsync()
    Returns
    Type Description
    Task
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX