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 |
|---|---|---|
| System.Type | messageType | Sent message type. |
| System.Type | fallbackType | Type of response to use as fallback. |
Returns
| Type | Description |
|---|---|
| System.Type | Type of the response. |