C# 클래스 Microsoft.Scripting.Interpreter.CallInstruction

상속: Microsoft.Scripting.Interpreter.Instruction
파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

공개 메소드들

메소드 설명
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