Class SingleMessageArgumentResolver
Resolves the parameters declared with a type that is compatible with the type of the message being published.
Inheritance
System.Object
SingleMessageArgumentResolver
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.Messaging.Subscribers.ArgumentResolvers
Assembly: Silverback.Core.dll
Syntax
public class SingleMessageArgumentResolver : ISingleMessageArgumentResolver, IMessageArgumentResolver, IArgumentResolver
Methods
| Improve this doc View sourceCanResolve(Type)
Declaration
public bool CanResolve(Type parameterType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | parameterType |
Returns
Type | Description |
---|---|
System.Boolean |
GetMessageType(Type)
Declaration
public Type GetMessageType(Type parameterType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | parameterType |
Returns
Type | Description |
---|---|
System.Type |
GetValue(Object)
Declaration
public object GetValue(object message)
Parameters
Type | Name | Description |
---|---|---|
System.Object | message |
Returns
Type | Description |
---|---|
System.Object |