namespace Umbraco.Core.Deploy { /// /// Represents an artifact dependency. /// /// /// 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. /// public class ArtifactDependency { /// /// Initializes a new instance of the ArtifactDependency class with an entity identifier and a mode. /// /// The entity identifier of the artifact that is a dependency. /// A value indicating whether the dependency is ordering. /// The dependency mode. public ArtifactDependency(Udi udi, bool ordering, ArtifactDependencyMode mode) { Udi = udi; Ordering = ordering; Mode = mode; } /// /// Gets the entity id of the artifact that is a dependency. /// public Udi Udi { get; private set; } /// /// Gets a value indicating whether the dependency is ordering. /// public bool Ordering { get; private set; } /// /// Gets the dependency mode. /// public ArtifactDependencyMode Mode { get; private set; } } }