Class ListRule
- Namespace
- idunno.Bluesky.Feed.Gates
- Assembly
- idunno.Bluesky.dll
Thread gate rule specifying that replies are allowed from actors on a list.
public record ListRule : ThreadGateRule, IEquatable<ThreadGateRule>, IEquatable<ListRule>Inheritance
Implements
Inherited Members
Constructors
ListRule(AtUri)
Creates a new instance of idunno.Bluesky.Feed.Gates.ListRule
public ListRule(AtUri list)Parameters
listAtUri-
The idunno.AtProto.AtUri of the list of actors that will be able to reply.
Exceptions
- ArgumentNullException
-
Thrown when
listis null.
ListRule(ListRule)
protected ListRule(ListRule original)Parameters
originalListRule
ListRule(AtUri)
Creates a new instance of idunno.Bluesky.Feed.Gates.ListRule
public ListRule(AtUri list)Parameters
listAtUri-
The idunno.AtProto.AtUri of the list of actors that will be able to reply.
Exceptions
- ArgumentNullException
-
Thrown when
listis null.
ListRule(ListRule)
protected ListRule(ListRule original)Parameters
originalListRule
ListRule(AtUri)
Creates a new instance of idunno.Bluesky.Feed.Gates.ListRule
public ListRule(AtUri list)Parameters
listAtUri-
The idunno.AtProto.AtUri of the list of actors that will be able to reply.
Exceptions
- ArgumentNullException
-
Thrown when
listis null.
ListRule(ListRule)
protected ListRule(ListRule original)Parameters
originalListRule
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
List
Gets the idunno.AtProto.AtUri of the list of actors that will be able to reply.
[JsonInclude]
[JsonRequired]
public AtUri List { get; init; }Property Value
- AtUri
List
Gets the idunno.AtProto.AtUri of the list of actors that will be able to reply.
[JsonInclude]
[JsonRequired]
public AtUri List { get; init; }Property Value
- AtUri
List
Gets the idunno.AtProto.AtUri of the list of actors that will be able to reply.
[JsonInclude]
[JsonRequired]
public AtUri List { get; init; }Property Value
- AtUri
Methods
<Clone>$()
public override ListRule <Clone>$()Returns
<Clone>$()
public override ListRule <Clone>$()Returns
<Clone>$()
public override ListRule <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ThreadGateRule?)
public override sealed bool Equals(ThreadGateRule? other)Parameters
otherThreadGateRule?
Returns
Equals(ListRule?)
public virtual bool Equals(ListRule? other)Parameters
otherListRule?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ThreadGateRule?)
public override sealed bool Equals(ThreadGateRule? other)Parameters
otherThreadGateRule?
Returns
Equals(ListRule?)
public virtual bool Equals(ListRule? other)Parameters
otherListRule?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ThreadGateRule?)
public override sealed bool Equals(ThreadGateRule? other)Parameters
otherThreadGateRule?
Returns
Equals(ListRule?)
public virtual bool Equals(ListRule? other)Parameters
otherListRule?
Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
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 ==(ListRule?, ListRule?)
public static bool operator ==(ListRule? left, ListRule? right)Parameters
Returns
operator ==(ListRule?, ListRule?)
public static bool operator ==(ListRule? left, ListRule? right)Parameters
Returns
operator ==(ListRule?, ListRule?)
public static bool operator ==(ListRule? left, ListRule? right)Parameters
Returns
operator !=(ListRule?, ListRule?)
public static bool operator !=(ListRule? left, ListRule? right)Parameters
Returns
operator !=(ListRule?, ListRule?)
public static bool operator !=(ListRule? left, ListRule? right)Parameters
Returns
operator !=(ListRule?, ListRule?)
public static bool operator !=(ListRule? left, ListRule? right)