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