SourceLinkMapping
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
A single Source Link document mapping.
public sealed record SourceLinkMapping : IEquatable<SourceLinkMapping>Inheritance
Section titled “Inheritance”Object → SourceLinkMapping
Implements
Section titled “Implements”Constructors
Section titled “Constructors”SourceLinkMapping(string, string)
Section titled “SourceLinkMapping(string, string)”A single Source Link document mapping.
Parameters:
public SourceLinkMapping(string DocumentPattern, string UrlTemplate)Properties
Section titled “Properties”DocumentPattern
Section titled “DocumentPattern”The document path pattern.
Returns: String
public string DocumentPattern { get; init; }UrlTemplate
Section titled “UrlTemplate”The URL template.
Returns: String
public string UrlTemplate { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out string)
Section titled “Deconstruct(out string, out string)”Parameters:
public void Deconstruct(out string DocumentPattern, out string UrlTemplate)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(SourceLinkMapping?)
Section titled “Equals(SourceLinkMapping?)”Parameters:
other(SourceLinkMapping)
Returns: Boolean
public bool Equals(SourceLinkMapping? 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 !=(SourceLinkMapping?, SourceLinkMapping?)
Section titled “operator !=(SourceLinkMapping?, SourceLinkMapping?)”Parameters:
left(SourceLinkMapping)right(SourceLinkMapping)
Returns: Boolean
public static bool operator !=(SourceLinkMapping? left, SourceLinkMapping? right)operator ==(SourceLinkMapping?, SourceLinkMapping?)
Section titled “operator ==(SourceLinkMapping?, SourceLinkMapping?)”Parameters:
left(SourceLinkMapping)right(SourceLinkMapping)
Returns: Boolean
public static bool operator ==(SourceLinkMapping? left, SourceLinkMapping? right)