Interface IInvocableHandlerMethod
- Namespace
- Steeltoe.Messaging.Handler.Invocation
- Assembly
- Steeltoe.Messaging.Abstractions.dll
Invokes the underlying method with argument values resolved from the current message.
public interface IInvocableHandlerMethod
Properties
Handler
object Handler { get; }
Property Value
IsVoid
Gets a value indicating whether the return type of the method is void
bool IsVoid { get; }
Property Value
Method
MethodInfo Method { get; }
Property Value
ShortLogMessage
Gets a value for message logging (TODO: Look to remove)
string ShortLogMessage { get; }
Property Value
Methods
Invoke(IMessage, params object[])
Invoke the underlying method after resolving its argument values in the context of the given message.
object Invoke(IMessage requestMessage, params object[] args)
Parameters
requestMessage
IMessagethe message being processed
args
object[]given arguments matched by type, not resolved
Returns
- object
the raw value returned from the invoked method