DgmlLink
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One edge of an ILC dependency graph: the source node depends on the target node, so the target is in the binary because the source needed it.
public sealed record DgmlLink : IEquatable<DgmlLink>Inheritance
Section titled “Inheritance”Object → DgmlLink
Implements
Section titled “Implements”Constructors
Section titled “Constructors”DgmlLink(int, int, string?)
Section titled “DgmlLink(int, int, string?)”One edge of an ILC dependency graph: the source node depends on the target node, so the target is in the binary because the source needed it.
Parameters:
SourceId(Int32): The depender’s node id.TargetId(Int32): The dependee’s node id.Reason(String): The compiler’s explanation for the dependency, or null when it gave none.
public DgmlLink(int SourceId, int TargetId, string? Reason)Properties
Section titled “Properties”Reason
Section titled “Reason”The compiler’s explanation for the dependency, or null when it gave none.
Returns: String
public string? Reason { get; init; }SourceId
Section titled “SourceId”The depender’s node id.
Returns: Int32
public int SourceId { get; init; }TargetId
Section titled “TargetId”The dependee’s node id.
Returns: Int32
public int TargetId { get; init; }Methods
Section titled “Methods”Deconstruct(out int, out int, out string?)
Section titled “Deconstruct(out int, out int, out string?)”Parameters:
public void Deconstruct(out int SourceId, out int TargetId, out string? Reason)Equals(DgmlLink?)
Section titled “Equals(DgmlLink?)”Parameters:
other(DgmlLink)
Returns: Boolean
public bool Equals(DgmlLink? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(DgmlLink?, DgmlLink?)
Section titled “operator !=(DgmlLink?, DgmlLink?)”Parameters:
Returns: Boolean
public static bool operator !=(DgmlLink? left, DgmlLink? right)operator ==(DgmlLink?, DgmlLink?)
Section titled “operator ==(DgmlLink?, DgmlLink?)”Parameters:
Returns: Boolean
public static bool operator ==(DgmlLink? left, DgmlLink? right)