C# Класс AWSSDK_DotNet.CommonTest.Utils.ReflectionHelpers

Показать файл Открыть проект

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

Метод Описание
Invoke ( Type type, string memberName ) : object

Invoke a non-public static member on the type. Looks for a method, property, or field (in that order) on the type and calls it with the parameters provided. For properties and fields 0 parameters means get, and 1 parameter means set. For sets and void method calls, returns null.

Invoke ( object obj, string memberName ) : object

Invoke a non-public instance member on the object. Looks for a method, property, or field (in that order) on the object and calls it with the parameters provided. For properties and fields 0 parameters means get, and 1 parameter means set. For sets and void method calls, returns null.

Приватные методы

Метод Описание
InvokeHelper ( Type type, object target, string memberName, object parameters ) : object

Описание методов

Invoke() публичный статический Метод

Invoke a non-public static member on the type. Looks for a method, property, or field (in that order) on the type and calls it with the parameters provided. For properties and fields 0 parameters means get, and 1 parameter means set. For sets and void method calls, returns null.
public static Invoke ( Type type, string memberName ) : object
type System.Type
memberName string
Результат object

Invoke() публичный статический Метод

Invoke a non-public instance member on the object. Looks for a method, property, or field (in that order) on the object and calls it with the parameters provided. For properties and fields 0 parameters means get, and 1 parameter means set. For sets and void method calls, returns null.
public static Invoke ( object obj, string memberName ) : object
obj object
memberName string
Результат object