Table of Contents

Class Repost

Namespace
idunno.Bluesky.Feed
Assembly
idunno.Bluesky.dll

Encapsulates the information needed to create a repost record.

[JsonPolymorphic(IgnoreUnrecognizedTypeDiscriminators = true, UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHandling.FallBackToBaseType)]
[JsonDerivedType(typeof(Repost), "app.bsky.feed.repost")]
public record Repost : BlueskyTimestampedRecord, IEquatable<AtProtoRecord>, IEquatable<BlueskyRecord>, IEquatable<BlueskyTimestampedRecord>, IEquatable<Repost>

Inheritance

AtProtoRecord

Implements

Inherited Members

AtProtoRecord.Equals(AtProtoRecord?)
AtProtoRecord.GetHashCode()
AtProtoRecord.ToString()
AtProtoRecord.PrintMembers(StringBuilder)
AtProtoRecord.Equals(object?)
AtProtoRecord.<Clone>$()
AtProtoRecord.EqualityContract
AtProtoRecord.ExtensionData

Constructors

Repost(StrongReference)

Creates a new instance of idunno.Bluesky.Feed.Repost, withidunno.Bluesky.Record.BlueskyTimestampedRecord.CreatedAt set to the current date and time.

public Repost(StrongReference subject)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

Repost(StrongReference, DateTimeOffset)

Creates a new instance of idunno.Bluesky.Feed.Repost.

public Repost(StrongReference subject, DateTimeOffset createdAt)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

createdAt DateTimeOffset

The System.DateTimeOffset for the repost creation date.

Repost(StrongReference, StrongReference?)

Creates a new instance of idunno.Bluesky.Feed.Repost, withidunno.Bluesky.Record.BlueskyTimestampedRecord.CreatedAt set to the current date and time.

public Repost(StrongReference subject, StrongReference? via)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

via StrongReference?

A idunno.AtProto.Repo.StrongReference to a repost record, if the repost is of a repost.

Repost(StrongReference, DateTimeOffset, StrongReference?)

Creates a new instance of idunno.Bluesky.Feed.Repost.

[JsonConstructor]
public Repost(StrongReference subject, DateTimeOffset createdAt, StrongReference? via)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

createdAt DateTimeOffset

The System.DateTimeOffset for the repost creation date.

via StrongReference?

A idunno.AtProto.Repo.StrongReference to a repost record, if the repost is of a repost.

Repost(Repost)

protected Repost(Repost original)

Parameters

original Repost

Repost(StrongReference)

Creates a new instance of idunno.Bluesky.Feed.Repost, withidunno.Bluesky.Record.BlueskyTimestampedRecord.CreatedAt set to the current date and time.

public Repost(StrongReference subject)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

Repost(StrongReference, DateTimeOffset)

Creates a new instance of idunno.Bluesky.Feed.Repost.

public Repost(StrongReference subject, DateTimeOffset createdAt)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

createdAt DateTimeOffset

The System.DateTimeOffset for the repost creation date.

Repost(StrongReference, StrongReference?)

Creates a new instance of idunno.Bluesky.Feed.Repost, withidunno.Bluesky.Record.BlueskyTimestampedRecord.CreatedAt set to the current date and time.

public Repost(StrongReference subject, StrongReference? via)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

via StrongReference?

A idunno.AtProto.Repo.StrongReference to a repost record, if the repost is of a repost.

Repost(StrongReference, DateTimeOffset, StrongReference?)

Creates a new instance of idunno.Bluesky.Feed.Repost.

[JsonConstructor]
public Repost(StrongReference subject, DateTimeOffset createdAt, StrongReference? via)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

createdAt DateTimeOffset

The System.DateTimeOffset for the repost creation date.

via StrongReference?

A idunno.AtProto.Repo.StrongReference to a repost record, if the repost is of a repost.

Repost(Repost)

protected Repost(Repost original)

Parameters

original Repost

Repost(StrongReference)

Creates a new instance of idunno.Bluesky.Feed.Repost, withidunno.Bluesky.Record.BlueskyTimestampedRecord.CreatedAt set to the current date and time.

public Repost(StrongReference subject)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

Repost(StrongReference, DateTimeOffset)

Creates a new instance of idunno.Bluesky.Feed.Repost.

public Repost(StrongReference subject, DateTimeOffset createdAt)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

createdAt DateTimeOffset

The System.DateTimeOffset for the repost creation date.

Repost(StrongReference, StrongReference?)

Creates a new instance of idunno.Bluesky.Feed.Repost, withidunno.Bluesky.Record.BlueskyTimestampedRecord.CreatedAt set to the current date and time.

public Repost(StrongReference subject, StrongReference? via)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

via StrongReference?

A idunno.AtProto.Repo.StrongReference to a repost record, if the repost is of a repost.

Repost(StrongReference, DateTimeOffset, StrongReference?)

Creates a new instance of idunno.Bluesky.Feed.Repost.

[JsonConstructor]
public Repost(StrongReference subject, DateTimeOffset createdAt, StrongReference? via)

Parameters

subject StrongReference

The idunno.AtProto.Repo.StrongReference to the post to be reposted.

createdAt DateTimeOffset

The System.DateTimeOffset for the repost creation date.

via StrongReference?

A idunno.AtProto.Repo.StrongReference to a repost record, if the repost is of a repost.

Repost(Repost)

protected Repost(Repost original)

Parameters

original Repost

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

Subject

Gets the idunno.AtProto.Repo.StrongReference to the post to be reposted.

[JsonInclude]
public StrongReference Subject { get; init; }

Property Value

StrongReference

Subject

Gets the idunno.AtProto.Repo.StrongReference to the post to be reposted.

[JsonInclude]
public StrongReference Subject { get; init; }

Property Value

StrongReference

Subject

Gets the idunno.AtProto.Repo.StrongReference to the post to be reposted.

[JsonInclude]
public StrongReference Subject { get; init; }

Property Value

StrongReference

Via

Gets the idunno.AtProto.Repo.StrongReference to the repost record, if the repost is of a repost.

[JsonInclude]
public StrongReference? Via { get; init; }

Property Value

StrongReference?

Via

Gets the idunno.AtProto.Repo.StrongReference to the repost record, if the repost is of a repost.

[JsonInclude]
public StrongReference? Via { get; init; }

Property Value

StrongReference?

Via

Gets the idunno.AtProto.Repo.StrongReference to the repost record, if the repost is of a repost.

[JsonInclude]
public StrongReference? Via { get; init; }

Property Value

StrongReference?

Methods

<Clone>$()

public override Repost <Clone>$()

Returns

Repost

<Clone>$()

public override Repost <Clone>$()

Returns

Repost

<Clone>$()

public override Repost <Clone>$()

Returns

Repost

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(BlueskyTimestampedRecord?)

public override sealed bool Equals(BlueskyTimestampedRecord? other)

Parameters

other BlueskyTimestampedRecord?

Returns

bool

Equals(Repost?)

public virtual bool Equals(Repost? other)

Parameters

other Repost?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(BlueskyTimestampedRecord?)

public override sealed bool Equals(BlueskyTimestampedRecord? other)

Parameters

other BlueskyTimestampedRecord?

Returns

bool

Equals(Repost?)

public virtual bool Equals(Repost? other)

Parameters

other Repost?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(BlueskyTimestampedRecord?)

public override sealed bool Equals(BlueskyTimestampedRecord? other)

Parameters

other BlueskyTimestampedRecord?

Returns

bool

Equals(Repost?)

public virtual bool Equals(Repost? other)

Parameters

other Repost?

Returns

bool

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

Remarks

The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

Remarks

The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

Remarks

The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.

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

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

Parameters

left Repost?
right Repost?

Returns

bool

operator ==(Repost?, Repost?)

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

Parameters

left Repost?
right Repost?

Returns

bool

operator ==(Repost?, Repost?)

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

Parameters

left Repost?
right Repost?

Returns

bool

operator !=(Repost?, Repost?)

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

Parameters

left Repost?
right Repost?

Returns

bool

operator !=(Repost?, Repost?)

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

Parameters

left Repost?
right Repost?

Returns

bool

operator !=(Repost?, Repost?)

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

Parameters

left Repost?
right Repost?

Returns

bool