Search Results for

    Show / Hide Table of Contents
    View Source

    Class UpgradeService

    Provides functionality for checking for available Umbraco upgrades.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    [Obsolete("Upgrade checks are no longer supported. Scheduled for removal in Umbraco 19.")]
    public class UpgradeService : IUpgradeService

    Constructors

    View Source

    UpgradeService(IUpgradeCheckRepository)

    Initializes a new instance of the UpgradeService class.

    Declaration
    public UpgradeService(IUpgradeCheckRepository upgradeCheckRepository)
    Parameters
    Type Name Description
    IUpgradeCheckRepository upgradeCheckRepository

    The repository for checking upgrades.

    Methods

    View Source

    CheckUpgrade(SemVersion)

    Checks if an upgrade is available for the specified version.

    Declaration
    public Task<UpgradeResult> CheckUpgrade(SemVersion version)
    Parameters
    Type Name Description
    SemVersion version

    The current semantic version to check for upgrades.

    Returns
    Type Description
    Task<UpgradeResult>

    The result of the upgrade check.

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