RoomState Methods |
The RoomState type exposes the following members.
Name | Description | |
---|---|---|
ForceIsUserOnline |
Checks if user is online. Caller of this method expects that user is online. If user is not online in cache, this method checks database.
| |
ForceTryGetUser |
Gets online user. Caller expects that user is present in list of online users.
| |
GetMessages |
Gets newest messages.
| |
GetOnlineUsers |
Gets online users in this room. Changed or all (sinceWhen is null).
| |
InvalidateKickedUsers |
Invalidate list of kicked users in this room.
| |
IsUserKicked(Int32) |
Checks if the chat users specified by chatUserID is kicked from this room.
| |
IsUserKicked(Int32, Int32) |
Checks if the chat users specified by chatUserID is kicked from this room.
| |
ReloadChatRoomInfo |
Reloads info about this chat room. Should be called every time after room is changed.
| |
TryGetUser |
Gets online user.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |