Class WolfResponseExtensions
Extension methods for IWolfResponse.
Namespace: TehGM.Wolfringo.Messages.Responses
Assembly: Wolfringo.Core.dll
Syntax
public static class WolfResponseExtensions
Methods
| Improve this Doc View SourceIsError(IWolfResponse)
Is response an error?
Declaration
public static bool IsError(this IWolfResponse response)
Parameters
Type | Name | Description |
---|---|---|
IWolfResponse | response |
Returns
Type | Description |
---|---|
Boolean | True if response is an error; otherwise false. |
IsSuccess(IWolfResponse)
Is response a success?
Declaration
public static bool IsSuccess(this IWolfResponse response)
Parameters
Type | Name | Description |
---|---|---|
IWolfResponse | response |
Returns
Type | Description |
---|---|
Boolean | True if response is a success; otherwise false. |