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; }