• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class PremigrationUpgrader

    Handles RuntimePremigrationsUpgradeNotification to execute the unattended Umbraco upgrader or the unattended Package migrations runner.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Install
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class PremigrationUpgrader : INotificationAsyncHandler<RuntimePremigrationsUpgradeNotification>, INotificationHandler

    Constructors

    View Source

    PremigrationUpgrader(IProfilingLogger, DatabaseBuilder, IRuntimeState, IUmbracoDatabaseFactory, IKeyValueService)

    Declaration
    public PremigrationUpgrader(IProfilingLogger profilingLogger, DatabaseBuilder databaseBuilder, IRuntimeState runtimeState, IUmbracoDatabaseFactory umbracoDatabaseFactory, IKeyValueService keyValueService)
    Parameters
    Type Name Description
    IProfilingLogger profilingLogger
    DatabaseBuilder databaseBuilder
    IRuntimeState runtimeState
    IUmbracoDatabaseFactory umbracoDatabaseFactory
    IKeyValueService keyValueService

    Methods

    View Source

    HandleAsync(RuntimePremigrationsUpgradeNotification, CancellationToken)

    Declaration
    public Task HandleAsync(RuntimePremigrationsUpgradeNotification notification, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    RuntimePremigrationsUpgradeNotification notification
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PremigrationUpgrader(IProfilingLogger, DatabaseBuilder, IRuntimeState, IUmbracoDatabaseFactory, IKeyValueService)
    • Methods
      • HandleAsync(RuntimePremigrationsUpgradeNotification, CancellationToken)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX