Interface IHandlerMethodReturnValueHandler
Strategy interface to handle the value returned from the invocation of a method handling a Message.
Namespace: Steeltoe.Messaging.Handler.Invocation
Assembly: Steeltoe.Messaging.Abstractions.dll
Syntax
public interface IHandlerMethodReturnValueHandler
Methods
| Edit this page View SourceHandleReturnValue(Object, ParameterInfo, IMessage)
Handle the given return value.
Declaration
void HandleReturnValue(object returnValue, ParameterInfo returnType, IMessage message)
Parameters
Type | Name | Description |
---|---|---|
System.Object | returnValue | the value returned from the handler method |
ParameterInfo | returnType | the type of the return value |
IMessage | message | the message that was passed to the handler |
SupportsReturnType(ParameterInfo)
Determine whether the given method return type is supported by this handler.
Declaration
bool SupportsReturnType(ParameterInfo returnType)
Parameters
Type | Name | Description |
---|---|---|
ParameterInfo | returnType | the return parameter info |
Returns
Type | Description |
---|---|
System.Boolean | true if it supports the supplied return type |