Skip to content

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>

ObjectCustomAttributeInfo

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)

The fully qualified name of the attribute constructor method.

Returns: String

public string Constructor { get; init; }

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

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)

Parameters:

Returns: Boolean

public bool Equals(CustomAttributeInfo? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(CustomAttributeInfo?, CustomAttributeInfo?)

Section titled “operator !=(CustomAttributeInfo?, CustomAttributeInfo?)”

Parameters:

Returns: Boolean

public static bool operator !=(CustomAttributeInfo? left, CustomAttributeInfo? right)

operator ==(CustomAttributeInfo?, CustomAttributeInfo?)

Section titled “operator ==(CustomAttributeInfo?, CustomAttributeInfo?)”

Parameters:

Returns: Boolean

public static bool operator ==(CustomAttributeInfo? left, CustomAttributeInfo? right)