Class ArtifactDependency
Represents an artifact dependency.
Inheritance
Namespace: Umbraco.Cms.Core.Deploy
Assembly: Umbraco.Core.dll
Syntax
public class ArtifactDependency
Constructors
View SourceArtifactDependency(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 SourceChecksum
Gets or sets the checksum.
Declaration
public string Checksum { get; set; }
Property Value
Type | Description |
---|---|
System.String | The checksum. |
Mode
Gets the dependency mode.
Declaration
public ArtifactDependencyMode Mode { get; }
Property Value
Type | Description |
---|---|
ArtifactDependencyMode | The dependency mode. |
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 |
|
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. |