C# Класс Plugin.FunctionInfo

Provides info and functionality for calling reflected methods
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetParamInfo System.Reflection.ParameterInfo

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

Метод Описание
FunctionInfo ( string name, object instance, MethodInfo info ) : System

Creates a new instance

GetParameterType ( string parameter ) : Type

Returns the type of a specific parameter

Invoke ( object>.Dictionary parameters ) : object

Invokes the method with a given parameter set

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

Метод Описание
GetParamInfo ( string parameter ) : ParameterInfo

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

FunctionInfo() публичный Метод

Creates a new instance
public FunctionInfo ( string name, object instance, MethodInfo info ) : System
name string A custom name
instance object The instance to call the function on
info System.Reflection.MethodInfo The function info itself
Результат System

GetParameterType() публичный Метод

Returns the type of a specific parameter
public GetParameterType ( string parameter ) : Type
parameter string The parameter
Результат System.Type

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

Invokes the method with a given parameter set
public Invoke ( object>.Dictionary parameters ) : object
parameters object>.Dictionary The parameters
Результат object