The ChatServiceBase type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| ChatServiceBase |
Constructor.
|
Methods
| Name | Description | |
|---|---|---|
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
| GetChatResponse(ChatResponseStatusEnum) |
Builds general chat response with error set to statusCode and message set to default value associated with statusCode.
| |
| GetChatResponse(ChatResponseStatusEnum, String) |
Builds general chat response with error set to statusCode and message set to statusMessage.
| |
| GetChatResponse TData (ChatResponseStatusEnum) |
Builds chat response with code set to statusCode, message set to default value associated with statusCode and data set to default(TData).
| |
| GetChatResponse TData (ChatResponseStatusEnum, String) |
Builds chat response with code set to statusCode, message set to statusMessage and data set to default(TData).
| |
| GetChatResponse TData (ChatResponseStatusEnum, String, TData) |
Builds generic ChatGeneral response with properties set to passed params.
| |
| GetOkChatResponse |
Builds general chat response with OK code.
| |
| GetOkChatResponse TData (TData) |
Builds general chat response with OK code and Data set to data.
| |
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from | ||
| VerifyChatUserHasAdminRoomRights |
Verifies that currently logged in chat user has admin rights for a room.
Throws exception in case of failure and does nothing in case of success.
| |
| VerifyChatUserHasAllPermissions |
Verifies that currently logged in chat user has all of the passed permissions.
Throws exception in case of failure and does nothing in case of success.
| |
| VerifyChatUserHasAnyPermission |
Verifies that currently logged in chat user has at least one of the passed permissions.
Throws exception in case of failure and does nothing in case of success.
| |
| VerifyChatUserHasPermission |
Verifies that currently logged in chat user has specified permission.
Throws exception in case of failure and does nothing in case of success.
| |
| VerifyChatUserIsLoggedIn |
Verifies that chat user is logged in.
Throws exception in case of failure and does nothing in case of success.
| |
| VerifyChatUserIsOnlineInARoom |
Verifies that currently logged in chat user is online in a room.
Throws exception in case of failure and does nothing in case of success.
| |
| VerifyIPIsNotBanned |
Verifies that IP addres which was used to make this request is not banned.
Throws exception in case of failure and does nothing in case of success.
|
Extension Methods
| Name | Description | |
|---|---|---|
| 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.) |
Properties
| Name | Description | |
|---|---|---|
| CurrentChatUserState |
Gets ChatUserState of currently logged in chat user.
| |
| IsIPBanned |
Gets true if current user's IP address is banned and he can not do anything on the chat.
| |
| Sites |
Shortcut to ChatGlobalData.Instance.Sites (contains cached chat objects (rooms, etc.)).
|
See Also