Table of Contents

Class DraftEmbedExternal

Namespace
idunno.Bluesky.Drafts
Assembly
idunno.Bluesky.dll

Encapsulates a embedded URI in a draft post.

[JsonPolymorphic(UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHandling.FallBackToNearestAncestor)]
[JsonDerivedType(typeof(DraftEmbedExternal), "app.bsky.draft.defs#draftEmbedExternal")]
public record DraftEmbedExternal : IEquatable<DraftEmbedExternal>

Inheritance

Implements

Inherited Members

Constructors

DraftEmbedExternal(Uri)

Creates a new instance of idunno.Bluesky.Drafts.DraftEmbedExternal with the specified external idunno.Bluesky.Drafts.DraftEmbedExternal.Uri.

[JsonConstructor]
public DraftEmbedExternal(Uri uri)

Parameters

uri Uri

The idunno.Bluesky.Drafts.DraftEmbedExternal.Uri to embed.

Exceptions

ArgumentNullException

Thrown when uri is null.

DraftEmbedExternal(DraftEmbedExternal)

protected DraftEmbedExternal(DraftEmbedExternal original)

Parameters

original DraftEmbedExternal

DraftEmbedExternal(Uri)

Creates a new instance of idunno.Bluesky.Drafts.DraftEmbedExternal with the specified external idunno.Bluesky.Drafts.DraftEmbedExternal.Uri.

[JsonConstructor]
public DraftEmbedExternal(Uri uri)

Parameters

uri Uri

The idunno.Bluesky.Drafts.DraftEmbedExternal.Uri to embed.

Exceptions

ArgumentNullException

Thrown when uri is null.

DraftEmbedExternal(DraftEmbedExternal)

protected DraftEmbedExternal(DraftEmbedExternal original)

Parameters

original DraftEmbedExternal

DraftEmbedExternal(Uri)

Creates a new instance of idunno.Bluesky.Drafts.DraftEmbedExternal with the specified external idunno.Bluesky.Drafts.DraftEmbedExternal.Uri.

[JsonConstructor]
public DraftEmbedExternal(Uri uri)

Parameters

uri Uri

The idunno.Bluesky.Drafts.DraftEmbedExternal.Uri to embed.

Exceptions

ArgumentNullException

Thrown when uri is null.

DraftEmbedExternal(DraftEmbedExternal)

protected DraftEmbedExternal(DraftEmbedExternal original)

Parameters

original DraftEmbedExternal

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Uri

Gets the embedded external idunno.Bluesky.Drafts.DraftEmbedExternal.Uri.

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

Property Value

Uri

Exceptions

ArgumentNullException

Thrown when setting to null.

Uri

Gets the embedded external idunno.Bluesky.Drafts.DraftEmbedExternal.Uri.

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

Property Value

Uri

Exceptions

ArgumentNullException

Thrown when setting to null.

Uri

Gets the embedded external idunno.Bluesky.Drafts.DraftEmbedExternal.Uri.

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

Property Value

Uri

Exceptions

ArgumentNullException

Thrown when setting to null.

Methods

<Clone>$()

public virtual DraftEmbedExternal <Clone>$()

Returns

DraftEmbedExternal

<Clone>$()

public virtual DraftEmbedExternal <Clone>$()

Returns

DraftEmbedExternal

<Clone>$()

public virtual DraftEmbedExternal <Clone>$()

Returns

DraftEmbedExternal

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(DraftEmbedExternal?)

public virtual bool Equals(DraftEmbedExternal? other)

Parameters

other DraftEmbedExternal?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(DraftEmbedExternal?)

public virtual bool Equals(DraftEmbedExternal? other)

Parameters

other DraftEmbedExternal?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(DraftEmbedExternal?)

public virtual bool Equals(DraftEmbedExternal? other)

Parameters

other DraftEmbedExternal?

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 virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected virtual 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 ==(DraftEmbedExternal?, DraftEmbedExternal?)

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

Parameters

left DraftEmbedExternal?
right DraftEmbedExternal?

Returns

bool

operator ==(DraftEmbedExternal?, DraftEmbedExternal?)

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

Parameters

left DraftEmbedExternal?
right DraftEmbedExternal?

Returns

bool

operator ==(DraftEmbedExternal?, DraftEmbedExternal?)

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

Parameters

left DraftEmbedExternal?
right DraftEmbedExternal?

Returns

bool

operator !=(DraftEmbedExternal?, DraftEmbedExternal?)

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

Parameters

left DraftEmbedExternal?
right DraftEmbedExternal?

Returns

bool

operator !=(DraftEmbedExternal?, DraftEmbedExternal?)

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

Parameters

left DraftEmbedExternal?
right DraftEmbedExternal?

Returns

bool

operator !=(DraftEmbedExternal?, DraftEmbedExternal?)

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

Parameters

left DraftEmbedExternal?
right DraftEmbedExternal?

Returns

bool