Table of Contents

Class ListBlock

Namespace
idunno.Bluesky.Graph
Assembly
idunno.Bluesky.dll

Record representing a block relationship against an entire an entire list of accounts (actors).

[JsonPolymorphic(IgnoreUnrecognizedTypeDiscriminators = false, UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHandling.FailSerialization)]
[JsonDerivedType(typeof(ListBlock), "app.bsky.graph.listblock")]
public record ListBlock : BlueskyTimestampedRecord, IEquatable<AtProtoRecord>, IEquatable<BlueskyRecord>, IEquatable<BlueskyTimestampedRecord>, IEquatable<ListBlock>

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

ListBlock(AtUri, DateTimeOffset)

Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.

[JsonConstructor]
public ListBlock(AtUri subject, DateTimeOffset createdAt)

Parameters

subject AtUri

The reference idunno.AtProto.AtUri to the mod list record.

createdAt DateTimeOffset

The timestamp when the record was created.

Exceptions

ArgumentNullException

Thrown when subject is null.

ListBlock(AtUri)

Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.

public ListBlock(AtUri subject)

Parameters

subject AtUri

The reference idunno.AtProto.AtUri to the mod list record.

Exceptions

ArgumentNullException

Thrown when subject is null.

ListBlock(ListBlock)

protected ListBlock(ListBlock original)

Parameters

original ListBlock

ListBlock(AtUri, DateTimeOffset)

Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.

[JsonConstructor]
public ListBlock(AtUri subject, DateTimeOffset createdAt)

Parameters

subject AtUri

The reference idunno.AtProto.AtUri to the mod list record.

createdAt DateTimeOffset

The timestamp when the record was created.

Exceptions

ArgumentNullException

Thrown when subject is null.

ListBlock(AtUri)

Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.

public ListBlock(AtUri subject)

Parameters

subject AtUri

The reference idunno.AtProto.AtUri to the mod list record.

Exceptions

ArgumentNullException

Thrown when subject is null.

ListBlock(ListBlock)

protected ListBlock(ListBlock original)

Parameters

original ListBlock

ListBlock(AtUri, DateTimeOffset)

Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.

[JsonConstructor]
public ListBlock(AtUri subject, DateTimeOffset createdAt)

Parameters

subject AtUri

The reference idunno.AtProto.AtUri to the mod list record.

createdAt DateTimeOffset

The timestamp when the record was created.

Exceptions

ArgumentNullException

Thrown when subject is null.

ListBlock(AtUri)

Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.

public ListBlock(AtUri subject)

Parameters

subject AtUri

The reference idunno.AtProto.AtUri to the mod list record.

Exceptions

ArgumentNullException

Thrown when subject is null.

ListBlock(ListBlock)

protected ListBlock(ListBlock original)

Parameters

original ListBlock

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 reference idunno.AtProto.AtUri to the mod list record.

[JsonInclude]
[JsonRequired]
public AtUri Subject { get; init; }

Property Value

AtUri

Subject

Gets the reference idunno.AtProto.AtUri to the mod list record.

[JsonInclude]
[JsonRequired]
public AtUri Subject { get; init; }

Property Value

AtUri

Subject

Gets the reference idunno.AtProto.AtUri to the mod list record.

[JsonInclude]
[JsonRequired]
public AtUri Subject { get; init; }

Property Value

AtUri

Methods

<Clone>$()

public override ListBlock <Clone>$()

Returns

ListBlock

<Clone>$()

public override ListBlock <Clone>$()

Returns

ListBlock

<Clone>$()

public override ListBlock <Clone>$()

Returns

ListBlock

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

public virtual bool Equals(ListBlock? other)

Parameters

other ListBlock?

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

public virtual bool Equals(ListBlock? other)

Parameters

other ListBlock?

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

public virtual bool Equals(ListBlock? other)

Parameters

other ListBlock?

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

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

Parameters

left ListBlock?
right ListBlock?

Returns

bool

operator ==(ListBlock?, ListBlock?)

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

Parameters

left ListBlock?
right ListBlock?

Returns

bool

operator ==(ListBlock?, ListBlock?)

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

Parameters

left ListBlock?
right ListBlock?

Returns

bool

operator !=(ListBlock?, ListBlock?)

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

Parameters

left ListBlock?
right ListBlock?

Returns

bool

operator !=(ListBlock?, ListBlock?)

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

Parameters

left ListBlock?
right ListBlock?

Returns

bool

operator !=(ListBlock?, ListBlock?)

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

Parameters

left ListBlock?
right ListBlock?

Returns

bool