Search Results for

    Show / Hide Table of Contents
    View Source

    Class ArtifactDeployState<TArtifact, TEntity>

    Represent the state of an artifact being deployed.

    Inheritance
    System.Object
    ArtifactDeployState
    Namespace: Umbraco.Cms.Core.Deploy
    Assembly: Umbraco.Core.dll
    Syntax
    public class ArtifactDeployState<TArtifact, TEntity> : ArtifactDeployState where TArtifact : IArtifact
    Type Parameters
    Name Description
    TArtifact

    The type of the artifact.

    TEntity

    The type of the entity.

    Constructors

    View Source

    ArtifactDeployState(TArtifact, TEntity, IServiceConnector, Int32)

    Initializes a new instance of the ArtifactDeployState<TArtifact, TEntity> class.

    Declaration
    public ArtifactDeployState(TArtifact art, TEntity entity, IServiceConnector connector, int nextPass)
    Parameters
    Type Name Description
    TArtifact art

    The artifact.

    TEntity entity

    The entity.

    IServiceConnector connector

    The service connector deploying the artifact.

    System.Int32 nextPass

    The next pass number.

    Properties

    View Source

    Artifact

    Gets or sets the artifact.

    Declaration
    public TArtifact Artifact { get; set; }
    Property Value
    Type Description
    TArtifact
    View Source

    Entity

    Gets or sets the entity.

    Declaration
    public TEntity Entity { get; set; }
    Property Value
    Type Description
    TEntity

    Methods

    View Source

    GetArtifactAsIArtifact()

    Gets the artifact as an IArtifact.

    Declaration
    protected sealed override IArtifact GetArtifactAsIArtifact()
    Returns
    Type Description
    IArtifact

    The artifact, as an IArtifact.

    Remarks

    This is because classes that inherit from this class cannot override the Artifact property with a property that specializes the return type, and so they need to 'new' the property.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ArtifactDeployState(TArtifact, TEntity, IServiceConnector, Int32)
    • Properties
      • Artifact
      • Entity
    • Methods
      • GetArtifactAsIArtifact()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX