Search Results for

    Show / Hide Table of Contents
    View Source

    Class UpgradeSettingsFactory

    Factory for creating UpgradeSettingsModel instances containing upgrade-related settings.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Factories
    Assembly: Umbraco.Core.dll
    Syntax
    public class UpgradeSettingsFactory : IUpgradeSettingsFactory

    Constructors

    View Source

    UpgradeSettingsFactory(IRuntimeState, IUmbracoVersion)

    Initializes a new instance of the UpgradeSettingsFactory class.

    Declaration
    public UpgradeSettingsFactory(IRuntimeState runtimeState, IUmbracoVersion umbracoVersion)
    Parameters
    Type Name Description
    IRuntimeState runtimeState

    The runtime state providing migration information.

    IUmbracoVersion umbracoVersion

    The Umbraco version information.

    Methods

    View Source

    GetUpgradeSettings()

    Gets the upgrade settings model containing version and migration state information.

    Declaration
    public UpgradeSettingsModel GetUpgradeSettings()
    Returns
    Type Description
    UpgradeSettingsModel

    An UpgradeSettingsModel containing upgrade-related settings.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX