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 Artifact
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. |
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. |
Artifact |
mode | A value indicating whether the checksum must match or the artifact just needs to exist. |
System. |
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. |
The checksum. |
Mode
Gets the dependency mode.
Declaration
public ArtifactDependencyMode Mode { get; }
Property Value
Type | Description |
---|---|
Artifact |
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. |
|
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. |