C# 클래스 Spring.Retry.Classify.Util.MethodInvokerUtils

Utility methods for create MethodInvoker instances.
파일 보기 프로젝트 열기: spring-projects/spring-net-retry

공개 메소드들

메소드 설명
GetMethodInvokerByAttribute ( Type attributeType, object target ) : IMethodInvoker

Create a MethodInvoker from the delegate based on the attributeType. Ensure that the decorated method has a valid set of parameters.

GetMethodInvokerByName ( object targetObject, string methodName, bool paramsRequired ) : IMethodInvoker

Create a IMethodInvoker using the provided method name to search.

GetMethodInvokerForInterface ( Type cls, string methodName, object targetObject ) : IMethodInvoker

Create a IMethodInvoker using the provided interface, and method name from that interface.

GetMethodInvokerForSingleArgument ( object target ) : IMethodInvoker

Create a IMethodInvoker for the delegate from a single public method.

GetParamTypesString ( ) : string

Create a String representation of the array of parameter types.

메소드 상세

GetMethodInvokerByAttribute() 공개 정적인 메소드

Create a MethodInvoker from the delegate based on the attributeType. Ensure that the decorated method has a valid set of parameters.
public static GetMethodInvokerByAttribute ( Type attributeType, object target ) : IMethodInvoker
attributeType System.Type The attribute type.
target object The target.
리턴 IMethodInvoker

GetMethodInvokerByName() 공개 정적인 메소드

Create a IMethodInvoker using the provided method name to search.
public static GetMethodInvokerByName ( object targetObject, string methodName, bool paramsRequired ) : IMethodInvoker
targetObject object The target object to be invoked.
methodName string The method name of the method to be invoked.
paramsRequired bool Boolean indicating whether the parameters are required. If false, a no args version of the method will be searched for.
리턴 IMethodInvoker

GetMethodInvokerForInterface() 공개 정적인 메소드

Create a IMethodInvoker using the provided interface, and method name from that interface.
public static GetMethodInvokerForInterface ( Type cls, string methodName, object targetObject ) : IMethodInvoker
cls System.Type The interface to search for the method named.
methodName string The method name of the method to be invoked.
targetObject object The target object to be invoked.
리턴 IMethodInvoker

GetMethodInvokerForSingleArgument() 공개 정적인 메소드

Create a IMethodInvoker for the delegate from a single public method.
public static GetMethodInvokerForSingleArgument ( object target ) : IMethodInvoker
target object The target.
리턴 IMethodInvoker

GetParamTypesString() 공개 정적인 메소드

Create a String representation of the array of parameter types.
public static GetParamTypesString ( ) : string
리턴 string