Class Dependency
Represents a dependency between two entities in a project.
public record Dependency : IEquatable<Dependency>
- Inheritance
-
Dependency
- Implements
- Inherited Members
Constructors
Dependency(Guid, Guid, DependencyType)
Represents a dependency between two entities in a project.
public Dependency(Guid SourceId, Guid TargetId, DependencyType Type)
Parameters
SourceIdGuidThe unique identifier of the source entity.
TargetIdGuidThe unique identifier of the target entity.
TypeDependencyTypeThe type of dependency (e.g., project or package reference).
Properties
SourceId
The unique identifier of the source entity.
public Guid SourceId { get; init; }
Property Value
TargetId
The unique identifier of the target entity.
public Guid TargetId { get; init; }
Property Value
Type
The type of dependency (e.g., project or package reference).
public DependencyType Type { get; init; }