Table of Contents

Class LinkFacetFeature

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

Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.

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

Inheritance

Implements

Inherited Members

Constructors

LinkFacetFeature(string)

Constructs a new instance of idunno.Bluesky.RichText.LinkFacetFeature.

[JsonConstructor]
public LinkFacetFeature(string uri)

Parameters

uri string

The uri, as a string, for the facet.

Exceptions

ArgumentException

Thrown when uri is null or whitespace.

LinkFacetFeature(string)

Constructs a new instance of idunno.Bluesky.RichText.LinkFacetFeature.

[JsonConstructor]
public LinkFacetFeature(string uri)

Parameters

uri string

The uri, as a string, for the facet.

Exceptions

ArgumentException

Thrown when uri is null or whitespace.

LinkFacetFeature(string)

Constructs a new instance of idunno.Bluesky.RichText.LinkFacetFeature.

[JsonConstructor]
public LinkFacetFeature(string uri)

Parameters

uri string

The uri, as a string, for the facet.

Exceptions

ArgumentException

Thrown when uri is null or whitespace.

Properties

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

Uri

The uri, as a string, for the facet.

[JsonInclude]
[JsonRequired]
public string Uri { get; init; }

Property Value

string

Remarks

This property is a string to accommodate illegal URIs that the Bluesky web app can create. Validate the URI before using it.

Uri

The uri, as a string, for the facet.

[JsonInclude]
[JsonRequired]
public string Uri { get; init; }

Property Value

string

Remarks

This property is a string to accommodate illegal URIs that the Bluesky web app can create. Validate the URI before using it.

Uri

The uri, as a string, for the facet.

[JsonInclude]
[JsonRequired]
public string Uri { get; init; }

Property Value

string

Remarks

This property is a string to accommodate illegal URIs that the Bluesky web app can create. Validate the URI before using it.

Methods

<Clone>$()

public override LinkFacetFeature <Clone>$()

Returns

LinkFacetFeature

<Clone>$()

public override LinkFacetFeature <Clone>$()

Returns

LinkFacetFeature

<Clone>$()

public override LinkFacetFeature <Clone>$()

Returns

LinkFacetFeature

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(LinkFacetFeature?)

public bool Equals(LinkFacetFeature? other)

Parameters

other LinkFacetFeature?

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(LinkFacetFeature?)

public bool Equals(LinkFacetFeature? other)

Parameters

other LinkFacetFeature?

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(LinkFacetFeature?)

public bool Equals(LinkFacetFeature? other)

Parameters

other LinkFacetFeature?

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 ==(LinkFacetFeature?, LinkFacetFeature?)

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

Parameters

left LinkFacetFeature?
right LinkFacetFeature?

Returns

bool

operator ==(LinkFacetFeature?, LinkFacetFeature?)

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

Parameters

left LinkFacetFeature?
right LinkFacetFeature?

Returns

bool

operator ==(LinkFacetFeature?, LinkFacetFeature?)

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

Parameters

left LinkFacetFeature?
right LinkFacetFeature?

Returns

bool

operator !=(LinkFacetFeature?, LinkFacetFeature?)

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

Parameters

left LinkFacetFeature?
right LinkFacetFeature?

Returns

bool

operator !=(LinkFacetFeature?, LinkFacetFeature?)

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

Parameters

left LinkFacetFeature?
right LinkFacetFeature?

Returns

bool

operator !=(LinkFacetFeature?, LinkFacetFeature?)

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

Parameters

left LinkFacetFeature?
right LinkFacetFeature?

Returns

bool