Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IDeployContext

    Represents a deployment context.

    Namespace: Umbraco.Cms.Core.Deploy
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IDeployContext

    Properties

    View Source

    FileSource

    Gets the file source.

    Declaration
    IFileSource FileSource { get; }
    Property Value
    Type Description
    IFileSource
    Remarks

    The file source is used to obtain files from the source environment.

    View Source

    Items

    Gets items.

    Declaration
    IDictionary<string, object> Items { get; }
    Property Value
    Type Description
    IDictionary<System.String, System.Object>
    View Source

    SessionId

    Gets the unique identifier of the deployment.

    Declaration
    Guid SessionId { get; }
    Property Value
    Type Description
    Guid

    Methods

    View Source

    Item<T>(String)

    Gets item.

    Declaration
    T Item<T>(string key)
        where T : class
    Parameters
    Type Name Description
    System.String key

    The key of the item.

    Returns
    Type Description
    T

    The item with the specified key and type, if any, else null.

    Type Parameters
    Name Description
    T

    The type of the item.

    View Source

    NextSeq()

    Gets the next number in a numerical sequence.

    Declaration
    int NextSeq()
    Returns
    Type Description
    System.Int32

    The next sequence number.

    Remarks

    Can be used to uniquely number things during a deployment.

    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • FileSource
      • Items
      • SessionId
    • Methods
      • Item<T>(String)
      • NextSeq()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX