Interface IResponseTypeResolver
Utility class for selecting type of the response for a sent message.
Namespace: TehGM.Wolfringo.Messages.Responses
Assembly: Wolfringo.Core.dll
Syntax
public interface IResponseTypeResolver
Methods
| Improve this Doc View SourceGetMessageResponseType(Type, Type)
Gets response type for the message.
Declaration
Type GetMessageResponseType(Type messageType, Type fallbackType = null)
Parameters
Type | Name | Description |
---|---|---|
Type | messageType | Sent message type. |
Type | fallbackType | Type of response to use as fallback. |
Returns
Type | Description |
---|---|
Type | Type of the response. |