Table of Contents

Class MentionFacetFeature

Namespace
idunno.Bluesky.RichText
Assembly
idunno.Bluesky.dll

Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.

public sealed record MentionFacetFeature : FacetFeature, IEquatable<FacetFeature>, IEquatable<MentionFacetFeature>

Inheritance

Implements

Inherited Members

Constructors

MentionFacetFeature(Did)

Creates a new instance of idunno.Bluesky.RichText.MentionFacetFeature.

[JsonConstructor]
public MentionFacetFeature(Did did)

Parameters

did Did

The idunno.Bluesky.RichText.MentionFacetFeature.Did of the account being mentioned.

Exceptions

ArgumentNullException

Thrown when did is null.

MentionFacetFeature(Did)

Creates a new instance of idunno.Bluesky.RichText.MentionFacetFeature.

[JsonConstructor]
public MentionFacetFeature(Did did)

Parameters

did Did

The idunno.Bluesky.RichText.MentionFacetFeature.Did of the account being mentioned.

Exceptions

ArgumentNullException

Thrown when did is null.

MentionFacetFeature(Did)

Creates a new instance of idunno.Bluesky.RichText.MentionFacetFeature.

[JsonConstructor]
public MentionFacetFeature(Did did)

Parameters

did Did

The idunno.Bluesky.RichText.MentionFacetFeature.Did of the account being mentioned.

Exceptions

ArgumentNullException

Thrown when did is null.

Properties

Did

The idunno.Bluesky.RichText.MentionFacetFeature.Did of the account being mentioned.

[JsonInclude]
[JsonRequired]
public Did Did { get; init; }

Property Value

Did

Did

The idunno.Bluesky.RichText.MentionFacetFeature.Did of the account being mentioned.

[JsonInclude]
[JsonRequired]
public Did Did { get; init; }

Property Value

Did

Did

The idunno.Bluesky.RichText.MentionFacetFeature.Did of the account being mentioned.

[JsonInclude]
[JsonRequired]
public Did Did { get; init; }

Property Value

Did

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

<Clone>$()

public override MentionFacetFeature <Clone>$()

Returns

MentionFacetFeature

<Clone>$()

public override MentionFacetFeature <Clone>$()

Returns

MentionFacetFeature

<Clone>$()

public override MentionFacetFeature <Clone>$()

Returns

MentionFacetFeature

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(FacetFeature?)

public override sealed bool Equals(FacetFeature? other)

Parameters

other FacetFeature?

Returns

bool

Equals(MentionFacetFeature?)

public bool Equals(MentionFacetFeature? other)

Parameters

other MentionFacetFeature?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(FacetFeature?)

public override sealed bool Equals(FacetFeature? other)

Parameters

other FacetFeature?

Returns

bool

Equals(MentionFacetFeature?)

public bool Equals(MentionFacetFeature? other)

Parameters

other MentionFacetFeature?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(FacetFeature?)

public override sealed bool Equals(FacetFeature? other)

Parameters

other FacetFeature?

Returns

bool

Equals(MentionFacetFeature?)

public bool Equals(MentionFacetFeature? other)

Parameters

other MentionFacetFeature?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(MentionFacetFeature?, MentionFacetFeature?)

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

Parameters

left MentionFacetFeature?
right MentionFacetFeature?

Returns

bool

operator ==(MentionFacetFeature?, MentionFacetFeature?)

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

Parameters

left MentionFacetFeature?
right MentionFacetFeature?

Returns

bool

operator ==(MentionFacetFeature?, MentionFacetFeature?)

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

Parameters

left MentionFacetFeature?
right MentionFacetFeature?

Returns

bool

operator !=(MentionFacetFeature?, MentionFacetFeature?)

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

Parameters

left MentionFacetFeature?
right MentionFacetFeature?

Returns

bool

operator !=(MentionFacetFeature?, MentionFacetFeature?)

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

Parameters

left MentionFacetFeature?
right MentionFacetFeature?

Returns

bool

operator !=(MentionFacetFeature?, MentionFacetFeature?)

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

Parameters

left MentionFacetFeature?
right MentionFacetFeature?

Returns

bool