C# Класс Microsoft.Scripting.Interpreter.CallInstruction

Наследование: Microsoft.Scripting.Interpreter.Instruction
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ArrayItemSetter1 ( Array array, int index0, object value ) : void
ArrayItemSetter2 ( Array array, int index0, int index1, object value ) : void
ArrayItemSetter3 ( Array array, int index0, int index1, int index2, object value ) : void
Create ( MethodInfo info ) : CallInstruction
Create ( MethodInfo info, ParameterInfo parameters ) : CallInstruction

Creates a new ReflectedCaller which can be used to quickly invoke the provided MethodInfo.

ToString ( ) : string

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

Метод Описание
CallInstruction ( ) : System
GetArrayAccessor ( MethodInfo info, int argumentCount ) : CallInstruction
IndexIsNotReturnType ( int index, MethodInfo target, ParameterInfo pi ) : bool
ShouldCache ( MethodInfo info ) : bool
SlowCreate ( MethodInfo info, ParameterInfo pis ) : CallInstruction

Uses reflection to create new instance of the appropriate ReflectedCaller

TryGetParameterOrReturnType ( MethodInfo target, ParameterInfo pi, int index ) : Type

Gets the next type or null if no more types are available.

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

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

public static ArrayItemSetter1 ( Array array, int index0, object value ) : void
array System.Array
index0 int
value object
Результат void

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

public static ArrayItemSetter2 ( Array array, int index0, int index1, object value ) : void
array System.Array
index0 int
index1 int
value object
Результат void

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

public static ArrayItemSetter3 ( Array array, int index0, int index1, int index2, object value ) : void
array System.Array
index0 int
index1 int
index2 int
value object
Результат void

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

public static Create ( MethodInfo info ) : CallInstruction
info System.Reflection.MethodInfo
Результат CallInstruction

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

Creates a new ReflectedCaller which can be used to quickly invoke the provided MethodInfo.
public static Create ( MethodInfo info, ParameterInfo parameters ) : CallInstruction
info System.Reflection.MethodInfo
parameters System.Reflection.ParameterInfo
Результат CallInstruction

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

public ToString ( ) : string
Результат string