Class ReactionView
- Namespace
- idunno.Bluesky.Chat
- Assembly
- idunno.Bluesky.dll
A view over a reaction to a message.
public record ReactionView : View, IEquatable<View>, IEquatable<ReactionView>Inheritance
Implements
Inherited Members
Constructors
ReactionView(string, ReactionViewSender, DateTimeOffset)
Creates a new instance of idunno.Bluesky.Chat.ReactionView
public ReactionView(string value, ReactionViewSender sender, DateTimeOffset createdAt)Parameters
valuestring-
The value of the reaction.
senderReactionViewSender-
The idunno.Bluesky.Chat.ReactionViewSender over the sender.
createdAtDateTimeOffset-
The System.DateTimeOffset the reaction was created at.
ReactionView(ReactionView)
protected ReactionView(ReactionView original)Parameters
originalReactionView
ReactionView(string, ReactionViewSender, DateTimeOffset)
Creates a new instance of idunno.Bluesky.Chat.ReactionView
public ReactionView(string value, ReactionViewSender sender, DateTimeOffset createdAt)Parameters
valuestring-
The value of the reaction.
senderReactionViewSender-
The idunno.Bluesky.Chat.ReactionViewSender over the sender.
createdAtDateTimeOffset-
The System.DateTimeOffset the reaction was created at.
ReactionView(ReactionView)
protected ReactionView(ReactionView original)Parameters
originalReactionView
ReactionView(string, ReactionViewSender, DateTimeOffset)
Creates a new instance of idunno.Bluesky.Chat.ReactionView
public ReactionView(string value, ReactionViewSender sender, DateTimeOffset createdAt)Parameters
valuestring-
The value of the reaction.
senderReactionViewSender-
The idunno.Bluesky.Chat.ReactionViewSender over the sender.
createdAtDateTimeOffset-
The System.DateTimeOffset the reaction was created at.
ReactionView(ReactionView)
protected ReactionView(ReactionView original)Parameters
originalReactionView
Properties
CreatedAt
Gets the System.DateTimeOffset the reaction was created at.
[JsonInclude]
[JsonRequired]
public DateTimeOffset CreatedAt { get; init; }Property Value
CreatedAt
Gets the System.DateTimeOffset the reaction was created at.
[JsonInclude]
[JsonRequired]
public DateTimeOffset CreatedAt { get; init; }Property Value
CreatedAt
Gets the System.DateTimeOffset the reaction was created at.
[JsonInclude]
[JsonRequired]
public DateTimeOffset CreatedAt { get; init; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
Sender
Gets the idunno.Bluesky.Chat.ReactionViewSender of the sender of the reaction.
[JsonInclude]
[JsonRequired]
public ReactionViewSender Sender { get; init; }Property Value
Sender
Gets the idunno.Bluesky.Chat.ReactionViewSender of the sender of the reaction.
[JsonInclude]
[JsonRequired]
public ReactionViewSender Sender { get; init; }Property Value
Sender
Gets the idunno.Bluesky.Chat.ReactionViewSender of the sender of the reaction.
[JsonInclude]
[JsonRequired]
public ReactionViewSender Sender { get; init; }Property Value
Value
Gets the value of the reaction as a string.
[JsonInclude]
[JsonRequired]
public string Value { get; init; }Property Value
Value
Gets the value of the reaction as a string.
[JsonInclude]
[JsonRequired]
public string Value { get; init; }Property Value
Value
Gets the value of the reaction as a string.
[JsonInclude]
[JsonRequired]
public string Value { get; init; }Property Value
Methods
<Clone>$()
public override ReactionView <Clone>$()Returns
<Clone>$()
public override ReactionView <Clone>$()Returns
<Clone>$()
public override ReactionView <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public override sealed bool Equals(View? other)Parameters
otherView?
Returns
Equals(ReactionView?)
public virtual bool Equals(ReactionView? other)Parameters
otherReactionView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public override sealed bool Equals(View? other)Parameters
otherView?
Returns
Equals(ReactionView?)
public virtual bool Equals(ReactionView? other)Parameters
otherReactionView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public override sealed bool Equals(View? other)Parameters
otherView?
Returns
Equals(ReactionView?)
public virtual bool Equals(ReactionView? other)Parameters
otherReactionView?
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 ==(ReactionView?, ReactionView?)
public static bool operator ==(ReactionView? left, ReactionView? right)Parameters
leftReactionView?rightReactionView?
Returns
operator ==(ReactionView?, ReactionView?)
public static bool operator ==(ReactionView? left, ReactionView? right)Parameters
leftReactionView?rightReactionView?
Returns
operator ==(ReactionView?, ReactionView?)
public static bool operator ==(ReactionView? left, ReactionView? right)Parameters
leftReactionView?rightReactionView?
Returns
operator !=(ReactionView?, ReactionView?)
public static bool operator !=(ReactionView? left, ReactionView? right)Parameters
leftReactionView?rightReactionView?
Returns
operator !=(ReactionView?, ReactionView?)
public static bool operator !=(ReactionView? left, ReactionView? right)Parameters
leftReactionView?rightReactionView?
Returns
operator !=(ReactionView?, ReactionView?)
public static bool operator !=(ReactionView? left, ReactionView? right)Parameters
leftReactionView?rightReactionView?