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
Показать файл Открыть проект

Открытые методы

Метод Описание
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