Search Results for

    Show / Hide Table of Contents
    View Source

    Class ArtifactDependency

    Represents an artifact dependency.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Deploy
    Assembly: Umbraco.Core.dll
    Syntax
    public class ArtifactDependency

    Constructors

    View Source

    ArtifactDependency(Udi, Boolean, ArtifactDependencyMode, String)

    Initializes a new instance of the ArtifactDependency class.

    Declaration
    public ArtifactDependency(Udi udi, bool ordering, ArtifactDependencyMode mode, string checksum = null)
    Parameters
    Type Name Description
    Udi udi

    The entity identifier of the artifact dependency.

    System.Boolean ordering

    A value indicating whether the dependency must be included when building a dependency tree and ensure the artifact gets deployed in the correct order.

    ArtifactDependencyMode mode

    A value indicating whether the checksum must match or the artifact just needs to exist.

    System.String checksum

    The checksum of the dependency.

    Properties

    View Source

    Checksum

    Gets or sets the checksum.

    Declaration
    public string Checksum { get; set; }
    Property Value
    Type Description
    System.String

    The checksum.

    View Source

    Mode

    Gets the dependency mode.

    Declaration
    public ArtifactDependencyMode Mode { get; }
    Property Value
    Type Description
    ArtifactDependencyMode

    The dependency mode.

    View Source

    Ordering

    Gets a value indicating whether the dependency is included when building a dependency tree and gets deployed in the correct order.

    Declaration
    public bool Ordering { get; }
    Property Value
    Type Description
    System.Boolean

    true if the dependency is included when building a dependency tree and gets deployed in the correct order; otherwise, false.

    View Source

    Udi

    Gets the entity identifier of the artifact dependency.

    Declaration
    public Udi Udi { get; }
    Property Value
    Type Description
    Udi

    The entity identifier of the artifact dependency.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ArtifactDependency(Udi, Boolean, ArtifactDependencyMode, String)
    • Properties
      • Checksum
      • Mode
      • Ordering
      • Udi
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX