Class ArtifactDependency
Represents an artifact dependency.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Deploy
Assembly: Umbraco.Core.dll
Syntax
public class ArtifactDependency
Remarks
Dependencies have an order property which indicates whether it must be respected when ordering artifacts.
Dependencies have a mode which can be Match or Exist depending on whether the checksum should
match.
Constructors
View SourceArtifactDependency(Udi, Boolean, ArtifactDependencyMode)
Initializes a new instance of the ArtifactDependency class with an entity identifier and a mode.
Declaration
public ArtifactDependency(Udi udi, bool ordering, ArtifactDependencyMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| Udi | udi | The entity identifier of the artifact that is a dependency. |
| System.Boolean | ordering | A value indicating whether the dependency is ordering. |
| ArtifactDependencyMode | mode | The dependency mode. |
Properties
View SourceMode
Gets the dependency mode.
Declaration
public ArtifactDependencyMode Mode { get; }
Property Value
| Type | Description |
|---|---|
| ArtifactDependencyMode |
Ordering
Gets a value indicating whether the dependency is ordering.
Declaration
public bool Ordering { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Udi
Gets the entity id of the artifact that is a dependency.
Declaration
public Udi Udi { get; }
Property Value
| Type | Description |
|---|---|
| Udi |