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.EqualityContractAtProtoRecord.ExtensionData
Constructors
ListBlock(AtUri, DateTimeOffset)
Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.
[JsonConstructor]
public ListBlock(AtUri subject, DateTimeOffset createdAt)Parameters
subjectAtUri-
The reference idunno.AtProto.AtUri to the mod list record.
createdAtDateTimeOffset-
The timestamp when the record was created.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ListBlock(AtUri)
Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.
public ListBlock(AtUri subject)Parameters
subjectAtUri-
The reference idunno.AtProto.AtUri to the mod list record.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ListBlock(ListBlock)
protected ListBlock(ListBlock original)Parameters
originalListBlock
ListBlock(AtUri, DateTimeOffset)
Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.
[JsonConstructor]
public ListBlock(AtUri subject, DateTimeOffset createdAt)Parameters
subjectAtUri-
The reference idunno.AtProto.AtUri to the mod list record.
createdAtDateTimeOffset-
The timestamp when the record was created.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ListBlock(AtUri)
Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.
public ListBlock(AtUri subject)Parameters
subjectAtUri-
The reference idunno.AtProto.AtUri to the mod list record.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ListBlock(ListBlock)
protected ListBlock(ListBlock original)Parameters
originalListBlock
ListBlock(AtUri, DateTimeOffset)
Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.
[JsonConstructor]
public ListBlock(AtUri subject, DateTimeOffset createdAt)Parameters
subjectAtUri-
The reference idunno.AtProto.AtUri to the mod list record.
createdAtDateTimeOffset-
The timestamp when the record was created.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ListBlock(AtUri)
Creates a new instance of the idunno.Bluesky.Graph.ListBlock record.
public ListBlock(AtUri subject)Parameters
subjectAtUri-
The reference idunno.AtProto.AtUri to the mod list record.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ListBlock(ListBlock)
protected ListBlock(ListBlock original)Parameters
originalListBlock
Properties
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
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
<Clone>$()
public override ListBlock <Clone>$()Returns
<Clone>$()
public override ListBlock <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BlueskyTimestampedRecord?)
public override sealed bool Equals(BlueskyTimestampedRecord? other)Parameters
otherBlueskyTimestampedRecord?
Returns
Equals(ListBlock?)
public virtual bool Equals(ListBlock? other)Parameters
otherListBlock?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BlueskyTimestampedRecord?)
public override sealed bool Equals(BlueskyTimestampedRecord? other)Parameters
otherBlueskyTimestampedRecord?
Returns
Equals(ListBlock?)
public virtual bool Equals(ListBlock? other)Parameters
otherListBlock?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BlueskyTimestampedRecord?)
public override sealed bool Equals(BlueskyTimestampedRecord? other)Parameters
otherBlueskyTimestampedRecord?
Returns
Equals(ListBlock?)
public virtual bool Equals(ListBlock? other)Parameters
otherListBlock?
Returns
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
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(ListBlock?, ListBlock?)
public static bool operator ==(ListBlock? left, ListBlock? right)Parameters
Returns
operator ==(ListBlock?, ListBlock?)
public static bool operator ==(ListBlock? left, ListBlock? right)Parameters
Returns
operator ==(ListBlock?, ListBlock?)
public static bool operator ==(ListBlock? left, ListBlock? right)Parameters
Returns
operator !=(ListBlock?, ListBlock?)
public static bool operator !=(ListBlock? left, ListBlock? right)Parameters
Returns
operator !=(ListBlock?, ListBlock?)
public static bool operator !=(ListBlock? left, ListBlock? right)Parameters
Returns
operator !=(ListBlock?, ListBlock?)
public static bool operator !=(ListBlock? left, ListBlock? right)