Table of Contents

Interface IHandlerMethodArgumentResolver

Namespace
Steeltoe.Messaging.Handler.Invocation
Assembly
Steeltoe.Messaging.Abstractions.dll

Strategy interface for resolving method parameters into argument values in the context of a given request.

public interface IHandlerMethodArgumentResolver

Methods

ResolveArgument(ParameterInfo, IMessage)

Resolves a method parameter into an argument value from a given message.

object ResolveArgument(ParameterInfo parameter, IMessage message)

Parameters

parameter ParameterInfo

the parameter info to consideer

message IMessage

the message

Returns

object

the resolved argument value

SupportsParameter(ParameterInfo)

Determine whether the given method parameter is supported by this resolver.

bool SupportsParameter(ParameterInfo parameter)

Parameters

parameter ParameterInfo

the parameter info to consideer

Returns

bool

true if it is supported