Search Results for

    Show / Hide Table of Contents
    View Source

    Class UpgradeCheckRepository

    Provides an implementation of IUpgradeCheckRepository for checking for Umbraco upgrades.

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

    Constructors

    View Source

    UpgradeCheckRepository(IJsonSerializer)

    Initializes a new instance of the UpgradeCheckRepository class.

    Declaration
    public UpgradeCheckRepository(IJsonSerializer jsonSerializer)
    Parameters
    Type Name Description
    IJsonSerializer jsonSerializer

    The JSON serializer.

    Methods

    View Source

    CheckUpgradeAsync(SemVersion)

    Checks for available upgrades for the specified version.

    Declaration
    [Obsolete("This method no longer has any function. Scheduled for removal in Umbraco 19.")]
    public Task<UpgradeResult> CheckUpgradeAsync(SemVersion version)
    Parameters
    Type Name Description
    SemVersion version

    The current version to check upgrades for.

    Returns
    Type Description
    Task<UpgradeResult>

    The upgrade result containing available upgrade information.

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