CustomAttributeInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Information about a custom attribute applied to a metadata entity.
public sealed record CustomAttributeInfo : IEquatable<CustomAttributeInfo>Inheritance
Section titled “Inheritance”Object → CustomAttributeInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”CustomAttributeInfo(string, string, string?)
Section titled “CustomAttributeInfo(string, string, string?)”Information about a custom attribute applied to a metadata entity.
Parameters:
Parent(String): A description of the entity the attribute is applied to.Constructor(String): The fully qualified name of the attribute constructor method.Value(String): The decoded attribute value as a display string, or null if decoding failed.
public CustomAttributeInfo(string Parent, string Constructor, string? Value)Properties
Section titled “Properties”Constructor
Section titled “Constructor”The fully qualified name of the attribute constructor method.
Returns: String
public string Constructor { get; init; }Parent
Section titled “Parent”A description of the entity the attribute is applied to.
Returns: String
public string Parent { get; init; }The decoded attribute value as a display string, or null if decoding failed.
Returns: String
public string? Value { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out string, out string?)
Section titled “Deconstruct(out string, out string, out string?)”Parameters:
public void Deconstruct(out string Parent, out string Constructor, out string? Value)Equals(CustomAttributeInfo?)
Section titled “Equals(CustomAttributeInfo?)”Parameters:
other(CustomAttributeInfo)
Returns: Boolean
public bool Equals(CustomAttributeInfo? 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 !=(CustomAttributeInfo?, CustomAttributeInfo?)
Section titled “operator !=(CustomAttributeInfo?, CustomAttributeInfo?)”Parameters:
left(CustomAttributeInfo)right(CustomAttributeInfo)
Returns: Boolean
public static bool operator !=(CustomAttributeInfo? left, CustomAttributeInfo? right)operator ==(CustomAttributeInfo?, CustomAttributeInfo?)
Section titled “operator ==(CustomAttributeInfo?, CustomAttributeInfo?)”Parameters:
left(CustomAttributeInfo)right(CustomAttributeInfo)
Returns: Boolean
public static bool operator ==(CustomAttributeInfo? left, CustomAttributeInfo? right)