Class RebuildPublishedSnapshot
Rebuilds the published snapshot.
Namespace: Umbraco.Cms.Infrastructure.Migrations.PostMigrations
Assembly: Umbraco.Infrastructure.dll
Syntax
public class RebuildPublishedSnapshot : MigrationBase, IDiscoverable
Constructors
View SourceRebuildPublishedSnapshot(IMigrationContext, IPublishedSnapshotRebuilder)
Initializes a new instance of the Rebuild
Declaration
public RebuildPublishedSnapshot(IMigrationContext context, IPublishedSnapshotRebuilder rebuilder)
Parameters
Type | Name | Description |
---|---|---|
IMigration |
context | |
IPublished |
rebuilder |
Methods
View SourceMigrate()
Executes the migration.
Declaration
protected override void Migrate()