Class PayloadMethodArgumentResolver
Inheritance
System.Object
PayloadMethodArgumentResolver
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public class PayloadMethodArgumentResolver : object, IHandlerMethodArgumentResolver
Constructors
|
Edit this page
View Source
PayloadMethodArgumentResolver(IMessageConverter)
Declaration
public PayloadMethodArgumentResolver(IMessageConverter messageConverter)
Parameters
|
Edit this page
View Source
PayloadMethodArgumentResolver(IMessageConverter, Boolean)
Declaration
public PayloadMethodArgumentResolver(IMessageConverter messageConverter, bool useDefaultResolution)
Parameters
Type |
Name |
Description |
IMessageConverter |
messageConverter |
|
System.Boolean |
useDefaultResolution |
|
Fields
|
Edit this page
View Source
_converter
Declaration
protected readonly IMessageConverter _converter
Field Value
|
Edit this page
View Source
_useDefaultResolution
Declaration
protected readonly bool _useDefaultResolution
Field Value
Type |
Description |
System.Boolean |
|
Methods
|
Edit this page
View Source
IsEmptyPayload(Object)
Declaration
protected virtual bool IsEmptyPayload(object payload)
Parameters
Type |
Name |
Description |
System.Object |
payload |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
ResolveArgument(ParameterInfo, IMessage)
Declaration
public virtual object ResolveArgument(ParameterInfo parameter, IMessage message)
Parameters
Type |
Name |
Description |
ParameterInfo |
parameter |
|
IMessage |
message |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
ResolveTargetClass(ParameterInfo, IMessage)
Declaration
protected virtual Type ResolveTargetClass(ParameterInfo parameter, IMessage message)
Parameters
Type |
Name |
Description |
ParameterInfo |
parameter |
|
IMessage |
message |
|
Returns
|
Edit this page
View Source
SupportsParameter(ParameterInfo)
Declaration
public virtual bool SupportsParameter(ParameterInfo parameter)
Parameters
Type |
Name |
Description |
ParameterInfo |
parameter |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Validate(IMessage, ParameterInfo, Object)
Declaration
protected virtual void Validate(IMessage message, ParameterInfo parameter, object target)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
ParameterInfo |
parameter |
|
System.Object |
target |
|
Implements