Interface IMessageArgumentResolver
These resolvers are used to cast or transform the message parameter to be forwarded to the subscribed method.
Inherited Members
Namespace: Silverback.Messaging.Subscribers.ArgumentResolvers
Assembly: Silverback.Core.dll
Syntax
public interface IMessageArgumentResolver : IArgumentResolver
Methods
| Improve this doc View sourceGetMessageType(Type)
Returns the actual message type in the specified parameter type (e.g. TMessage
for a parameter
declared as IEnumerable<TMessage>
.
Declaration
Type GetMessageType(Type parameterType)
Parameters
Type | Name | Description |
---|---|---|
Type | parameterType | The type of the parameter to be resolved. |
Returns
Type | Description |
---|---|
Type | The actual message type. |