SourceLinkInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Source Link mappings decoded from portable PDB custom debug information.
public sealed record SourceLinkInfo : IEquatable<SourceLinkInfo>Inheritance
Section titled “Inheritance”Object → SourceLinkInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”SourceLinkInfo(IReadOnlyList<SourceLinkMapping>)
Section titled “SourceLinkInfo(IReadOnlyList<SourceLinkMapping>)”Source Link mappings decoded from portable PDB custom debug information.
Parameters:
Mappings(IReadOnlyList<SourceLinkMapping>): The document pattern to URL template mappings.
public SourceLinkInfo(IReadOnlyList<SourceLinkMapping> Mappings)Properties
Section titled “Properties”IsPresent
Section titled “IsPresent”Gets whether Source Link data was present.
Returns: Boolean
public bool IsPresent { get; }Mappings
Section titled “Mappings”The document pattern to URL template mappings.
Returns: IReadOnlyList<SourceLinkMapping>
public IReadOnlyList<SourceLinkMapping> Mappings { get; init; }Methods
Section titled “Methods”Deconstruct(out IReadOnlyList<SourceLinkMapping>)
Section titled “Deconstruct(out IReadOnlyList<SourceLinkMapping>)”Parameters:
Mappings(IReadOnlyList<SourceLinkMapping>)
public void Deconstruct(out IReadOnlyList<SourceLinkMapping> Mappings)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(SourceLinkInfo?)
Section titled “Equals(SourceLinkInfo?)”Parameters:
other(SourceLinkInfo)
Returns: Boolean
public bool Equals(SourceLinkInfo? other)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 !=(SourceLinkInfo?, SourceLinkInfo?)
Section titled “operator !=(SourceLinkInfo?, SourceLinkInfo?)”Parameters:
left(SourceLinkInfo)right(SourceLinkInfo)
Returns: Boolean
public static bool operator !=(SourceLinkInfo? left, SourceLinkInfo? right)operator ==(SourceLinkInfo?, SourceLinkInfo?)
Section titled “operator ==(SourceLinkInfo?, SourceLinkInfo?)”Parameters:
left(SourceLinkInfo)right(SourceLinkInfo)
Returns: Boolean
public static bool operator ==(SourceLinkInfo? left, SourceLinkInfo? right)