C# 클래스 System.Reflection.DynamicMethodCompiler

This class defines Dynamic method compiler functions
파일 보기 프로젝트 열기: CISC181/VolTeerNET

공개 메소드들

메소드 설명
CreateDefaultConstructorDelegate ( Type type ) : DefaultCreatorDelegate

Creates the default constructor delegate.

CreateGetterDelegate ( Type type, FieldInfo fieldInfo ) : GetterDelegate

Creates the getter delegate.

CreateGetterDelegate ( Type type, PropertyInfo propertyInfo ) : GetterDelegate

Creates the getter delegate.

CreateSetterDelegate ( Type type, FieldInfo fieldInfo ) : SetterDelegate

Creates the setter delegate.

CreateSetterDelegate ( Type type, PropertyInfo propertyInfo ) : SetterDelegate

Creates the setter delegate.

비공개 메소드들

메소드 설명
BoxIfNeeded ( Type type, ILGenerator generator ) : void

Boxes if needed.

CreateDynamicGetMethod ( Type type ) : DynamicMethod

Creates the dynamic get method.

CreateDynamicSetMethod ( Type type ) : DynamicMethod

Creates the dynamic set method.

UnboxIfNeeded ( Type type, ILGenerator generator ) : void

Unboxes if needed.

메소드 상세

CreateDefaultConstructorDelegate() 공개 정적인 메소드

Creates the default constructor delegate.
Exception.
public static CreateDefaultConstructorDelegate ( Type type ) : DefaultCreatorDelegate
type Type The type.
리턴 DefaultCreatorDelegate

CreateGetterDelegate() 공개 정적인 메소드

Creates the getter delegate.
public static CreateGetterDelegate ( Type type, FieldInfo fieldInfo ) : GetterDelegate
type Type The type.
fieldInfo FieldInfo The field info.
리턴 GetterDelegate

CreateGetterDelegate() 공개 정적인 메소드

Creates the getter delegate.
public static CreateGetterDelegate ( Type type, PropertyInfo propertyInfo ) : GetterDelegate
type Type The type.
propertyInfo PropertyInfo The property info.
리턴 GetterDelegate

CreateSetterDelegate() 공개 정적인 메소드

Creates the setter delegate.
public static CreateSetterDelegate ( Type type, FieldInfo fieldInfo ) : SetterDelegate
type Type The type.
fieldInfo FieldInfo The field info.
리턴 SetterDelegate

CreateSetterDelegate() 공개 정적인 메소드

Creates the setter delegate.
public static CreateSetterDelegate ( Type type, PropertyInfo propertyInfo ) : SetterDelegate
type Type The type.
propertyInfo PropertyInfo The property info.
리턴 SetterDelegate