C# 클래스 DataWF.Common.EmitInvoker

EmitInvoker. Dynamic method + delegate container for System.Reflection property, method and constru EmitInvoker. Dynamic method + delegate container for System.Reflection property, method and constructor.
파일 보기 프로젝트 열기: alexandrvslv/datawf 1 사용 예제들

공개 메소드들

메소드 설명
CreateObject ( Type type, Array ctypes, Array cparams, bool cache ) : object
CreateObject ( Type type, bool cache = true ) : object
CreateObject ( bool cache = true ) : T
DeclareLocal ( ILGenerator il, Array ps, int index ) : LocalBuilder[]
DeleteCache ( ) : void
DeleteCache ( MemberInfo info ) : void
DeleteCache ( Type type ) : void
EmitBoxIfNeeded ( ILGenerator il, Type type ) : void
EmitCastToReference ( ILGenerator il, Type type ) : void
EmitFastInt ( ILGenerator il, int value ) : void
GetMethodName ( MethodInfo info ) : string
GetValue ( MemberInfo info, object item ) : object
GetValue ( MemberInfo info, object item, object index ) : object
GetValue ( Type type, string name, object item ) : object
Initialize ( ConstructorInfo info, bool cache = true ) : DataWF.Common.EmitConstructor
Initialize ( Type type, Array param, bool cache = true ) : DataWF.Common.EmitConstructor
Initialize ( MemberInfo info, bool cache, object index = null ) : IInvoker
Initialize ( MemberInfo info, object index = null ) : IInvoker
Initialize ( Type type, string property ) : IInvoker
Initialize ( string property ) : V>.IInvoker
Initialize ( string property ) : IInvoker
Invoke ( MethodInfo info, object item ) : object
Invoke ( Type type, string name, object item ) : object
RegisterInvoker ( DataWF.Common.InvokerAttribute invoker ) : void
RegisterInvoker ( MemberInfo memberInfo, IInvoker invoker ) : void
RegisterInvoker ( Type type, string memberName, IInvoker invoker ) : void
SetValue ( MemberInfo info, object item, object value ) : void
SetValue ( MemberInfo info, object item, object value, object index ) : void
SetValue ( Type type, string name, object item, object value ) : void

비공개 메소드들

메소드 설명
CacheInvokers ( DataWF.Common.MetadataToken token, IInvoker invoker, MemberInfo info ) : IInvoker
EmitInvoker ( ) : System

메소드 상세

CreateObject() 공개 정적인 메소드

public static CreateObject ( Type type, Array ctypes, Array cparams, bool cache ) : object
type Type
ctypes Array
cparams Array
cache bool
리턴 object

CreateObject() 공개 정적인 메소드

public static CreateObject ( Type type, bool cache = true ) : object
type Type
cache bool
리턴 object

CreateObject() 공개 정적인 메소드

public static CreateObject ( bool cache = true ) : T
cache bool
리턴 T

DeclareLocal() 공개 정적인 메소드

public static DeclareLocal ( ILGenerator il, Array ps, int index ) : LocalBuilder[]
il ILGenerator
ps Array
index int
리턴 LocalBuilder[]

DeleteCache() 공개 정적인 메소드

public static DeleteCache ( ) : void
리턴 void

DeleteCache() 공개 정적인 메소드

public static DeleteCache ( MemberInfo info ) : void
info MemberInfo
리턴 void

DeleteCache() 공개 정적인 메소드

public static DeleteCache ( Type type ) : void
type Type
리턴 void

EmitBoxIfNeeded() 공개 정적인 메소드

public static EmitBoxIfNeeded ( ILGenerator il, Type type ) : void
il ILGenerator
type System.Type
리턴 void

EmitCastToReference() 공개 정적인 메소드

public static EmitCastToReference ( ILGenerator il, Type type ) : void
il ILGenerator
type System.Type
리턴 void

EmitFastInt() 공개 정적인 메소드

public static EmitFastInt ( ILGenerator il, int value ) : void
il ILGenerator
value int
리턴 void

GetMethodName() 공개 정적인 메소드

public static GetMethodName ( MethodInfo info ) : string
info MethodInfo
리턴 string

GetValue() 공개 정적인 메소드

public static GetValue ( MemberInfo info, object item ) : object
info MemberInfo
item object
리턴 object

GetValue() 공개 정적인 메소드

public static GetValue ( MemberInfo info, object item, object index ) : object
info MemberInfo
item object
index object
리턴 object

GetValue() 공개 정적인 메소드

public static GetValue ( Type type, string name, object item ) : object
type Type
name string
item object
리턴 object

Initialize() 공개 정적인 메소드

public static Initialize ( ConstructorInfo info, bool cache = true ) : DataWF.Common.EmitConstructor
info ConstructorInfo
cache bool
리턴 DataWF.Common.EmitConstructor

Initialize() 공개 정적인 메소드

public static Initialize ( Type type, Array param, bool cache = true ) : DataWF.Common.EmitConstructor
type Type
param Array
cache bool
리턴 DataWF.Common.EmitConstructor

Initialize() 공개 정적인 메소드

public static Initialize ( MemberInfo info, bool cache, object index = null ) : IInvoker
info MemberInfo
cache bool
index object
리턴 IInvoker

Initialize() 공개 정적인 메소드

public static Initialize ( MemberInfo info, object index = null ) : IInvoker
info MemberInfo
index object
리턴 IInvoker

Initialize() 공개 정적인 메소드

public static Initialize ( Type type, string property ) : IInvoker
type Type
property string
리턴 IInvoker

Initialize() 공개 정적인 메소드

public static Initialize ( string property ) : V>.IInvoker
property string
리턴 V>.IInvoker

Initialize() 공개 정적인 메소드

public static Initialize ( string property ) : IInvoker
property string
리턴 IInvoker

Invoke() 공개 정적인 메소드

public static Invoke ( MethodInfo info, object item ) : object
info MethodInfo
item object
리턴 object

Invoke() 공개 정적인 메소드

public static Invoke ( Type type, string name, object item ) : object
type Type
name string
item object
리턴 object

RegisterInvoker() 공개 정적인 메소드

public static RegisterInvoker ( DataWF.Common.InvokerAttribute invoker ) : void
invoker DataWF.Common.InvokerAttribute
리턴 void

RegisterInvoker() 공개 정적인 메소드

public static RegisterInvoker ( MemberInfo memberInfo, IInvoker invoker ) : void
memberInfo MemberInfo
invoker IInvoker
리턴 void

RegisterInvoker() 공개 정적인 메소드

public static RegisterInvoker ( Type type, string memberName, IInvoker invoker ) : void
type Type
memberName string
invoker IInvoker
리턴 void

SetValue() 공개 정적인 메소드

public static SetValue ( MemberInfo info, object item, object value ) : void
info MemberInfo
item object
value object
리턴 void

SetValue() 공개 정적인 메소드

public static SetValue ( MemberInfo info, object item, object value, object index ) : void
info MemberInfo
item object
value object
index object
리턴 void

SetValue() 공개 정적인 메소드

public static SetValue ( Type type, string name, object item, object value ) : void
type Type
name string
item object
value object
리턴 void