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

Simple implementation of the IMethodInvoker interface that invokes a method on an object. If the method has no arguments, but arguments are provided, they are ignored and the method is invoked anyway. If there are more arguments than there are provided, then an exception is thrown.
상속: IMethodInvoker
파일 보기 프로젝트 열기: spring-projects/spring-net-retry

공개 메소드들

메소드 설명
Equals ( object obj ) : bool

The equals.

GetHashCode ( ) : int

The get hash code.

InvokeMethod ( ) : object

The invoke method.

SimpleMethodInvoker ( object targetObject, MethodInfo method ) : System

Initializes a new instance of the SimpleMethodInvoker class.

SimpleMethodInvoker ( object targetObject, string methodName ) : System

Initializes a new instance of the SimpleMethodInvoker class.

비공개 메소드들

메소드 설명
ExtractTarget ( object target, MethodInfo method ) : object

메소드 상세

Equals() 공개 메소드

The equals.
public Equals ( object obj ) : bool
obj object The obj.
리턴 bool

GetHashCode() 공개 메소드

The get hash code.
public GetHashCode ( ) : int
리턴 int

InvokeMethod() 공개 메소드

The invoke method.
public InvokeMethod ( ) : object
리턴 object

SimpleMethodInvoker() 공개 메소드

Initializes a new instance of the SimpleMethodInvoker class.
public SimpleMethodInvoker ( object targetObject, MethodInfo method ) : System
targetObject object The target object.
method System.Reflection.MethodInfo The method.
리턴 System

SimpleMethodInvoker() 공개 메소드

Initializes a new instance of the SimpleMethodInvoker class.
public SimpleMethodInvoker ( object targetObject, string methodName ) : System
targetObject object The target object.
methodName string The method name.
리턴 System