Class HandlerMethod
Inheritance
System.Object
HandlerMethod
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public class HandlerMethod : object
Constructors
|
Edit this page
View Source
HandlerMethod(HandlerMethod)
Declaration
protected HandlerMethod(HandlerMethod handlerMethod)
Parameters
|
Edit this page
View Source
HandlerMethod(Object, MethodInfo)
Declaration
public HandlerMethod(object handler, MethodInfo handlerMethod)
Parameters
Type |
Name |
Description |
System.Object |
handler |
|
MethodInfo |
handlerMethod |
|
|
Edit this page
View Source
HandlerMethod(Object, String, Type[])
Declaration
public HandlerMethod(object handler, string handlerMethodName, params Type[] parameterTypes)
Parameters
Type |
Name |
Description |
System.Object |
handler |
|
System.String |
handlerMethodName |
|
Type[] |
parameterTypes |
|
Fields
|
Edit this page
View Source
_argCount
Declaration
protected readonly int _argCount
Field Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
_handler
Declaration
protected readonly object _handler
Field Value
Type |
Description |
System.Object |
|
|
Edit this page
View Source
_invoker
Declaration
protected readonly HandlerMethod.Invoker _invoker
Field Value
Properties
|
Edit this page
View Source
ArgCount
Declaration
protected int ArgCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
Handler
Declaration
public object Handler { get; }
Property Value
Type |
Description |
System.Object |
|
|
Edit this page
View Source
HandlerInvoker
Declaration
protected HandlerMethod.Invoker HandlerInvoker { get; }
Property Value
|
Edit this page
View Source
HandlerType
Declaration
public Type HandlerType { get; }
Property Value
|
Edit this page
View Source
IsVoid
Declaration
public virtual bool IsVoid { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Method
Declaration
public MethodInfo Method { get; }
Property Value
Type |
Description |
MethodInfo |
|
|
Edit this page
View Source
MethodParameters
Declaration
public virtual ParameterInfo[] MethodParameters { get; }
Property Value
Type |
Description |
ParameterInfo[] |
|
|
Edit this page
View Source
ResolvedFromHandlerMethod
Declaration
public HandlerMethod ResolvedFromHandlerMethod { get; }
Property Value
|
Edit this page
View Source
ReturnType
Declaration
public virtual ParameterInfo ReturnType { get; }
Property Value
Type |
Description |
ParameterInfo |
|
|
Edit this page
View Source
ShortLogMessage
Declaration
public virtual string ShortLogMessage { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Edit this page
View Source
AssertTargetBean(MethodInfo, Object, Object[])
Declaration
protected virtual void AssertTargetBean(MethodInfo method, object targetBean, object[] args)
Parameters
Type |
Name |
Description |
MethodInfo |
method |
|
System.Object |
targetBean |
|
System.Object[] |
args |
|
|
Edit this page
View Source
CreateWithResolvedBean()
Declaration
public virtual HandlerMethod CreateWithResolvedBean()
Returns
|
Edit this page
View Source
FindProvidedArgument(ParameterInfo, Object[])
Declaration
protected static object FindProvidedArgument(ParameterInfo parameter, params object[] providedArgs)
Parameters
Type |
Name |
Description |
ParameterInfo |
parameter |
|
System.Object[] |
providedArgs |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
Declaration
protected static string FormatArgumentError(ParameterInfo param, string message)
Parameters
Type |
Name |
Description |
ParameterInfo |
param |
|
System.String |
message |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
protected virtual string FormatInvokeError(string text, object[] args)
Parameters
Type |
Name |
Description |
System.String |
text |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.String |
|