Class UserContext
public sealed record UserContext : IEquatable<UserContext>
- Inheritance
-
UserContext
- Implements
- Inherited Members
Constructors
UserContext(BiDi, string)
public UserContext(BiDi bidi, string id)
Parameters
Properties
BiDi
[JsonIgnore]
public BiDi BiDi { get; }
Property Value
Methods
Equals(UserContext?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(UserContext? other)
Parameters
otherUserContextAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
otherparameter; otherwise, false.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.