RoomState MembersKentico 8.1 API Reference
The RoomState type exposes the following members.
Constructors

  NameDescription
Public methodRoomState
Constructor. parentName is used to create cache keys.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodForceIsUserOnline
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.
Public methodForceTryGetUser
Gets online user. Caller expects that user is present in list of online users.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetMessages
Gets newest messages.
Public methodGetOnlineUsers
Gets online users in this room. Changed or all (sinceWhen is null).
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodInvalidateKickedUsers
Invalidate list of kicked users in this room.
Public methodIsUserKicked(Int32)
Checks if the chat users specified by chatUserID is kicked from this room.
Public methodIsUserKicked(Int32, Int32 )
Checks if the chat users specified by chatUserID is kicked from this room.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodReloadChatRoomInfo
Reloads info about this chat room. Should be called every time after room is changed.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodTryGetUser
Gets online user.
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyOnlineUsers
List of online users in this room. Contains not only online users, but also users with Admin rights, Join rights (private rooms), etc.
Public propertyRoomInfo
Gets ChatRoomInfo of this room. Properties of this room can't be change via this instance (use ReloadChatRoomInfo() instead).
Back to Top
See Also