C# 클래스 Yea.Reflection.Emit.DefaultPropertyBuilder

Helper class for defining default properties
상속: Yea.Reflection.Emit.BaseClasses.VariableBase, IPropertyBuilder
파일 보기 프로젝트 열기: OxPatient/Rule-Engine 1 사용 예제들

공개 메소드들

메소드 설명
DefaultPropertyBuilder ( TypeBuilder typeBuilder, string name, PropertyAttributes attributes, MethodAttributes getMethodAttributes, MethodAttributes setMethodAttributes, Type propertyType, IEnumerable parameters ) : System

Constructor

GetDefinition ( ) : string

Gets the definition of the property

Load ( ILGenerator generator ) : void

Loads the property

Save ( ILGenerator generator ) : void

Saves the property

ToString ( ) : string

property as a string

operator ( ) : DefaultPropertyBuilder

Increments the property by one

메소드 상세

DefaultPropertyBuilder() 공개 메소드

Constructor
public DefaultPropertyBuilder ( TypeBuilder typeBuilder, string name, PropertyAttributes attributes, MethodAttributes getMethodAttributes, MethodAttributes setMethodAttributes, Type propertyType, IEnumerable parameters ) : System
typeBuilder TypeBuilder Type builder
name string Name of the property
attributes PropertyAttributes Attributes for the property (public, private, etc.)
getMethodAttributes MethodAttributes Get method attributes
setMethodAttributes MethodAttributes Set method attributes
propertyType System.Type Property type for the property
parameters IEnumerable Parameter types for the property
리턴 System

GetDefinition() 공개 메소드

Gets the definition of the property
public GetDefinition ( ) : string
리턴 string

Load() 공개 메소드

Loads the property
public Load ( ILGenerator generator ) : void
generator System.Reflection.Emit.ILGenerator IL Generator
리턴 void

Save() 공개 메소드

Saves the property
public Save ( ILGenerator generator ) : void
generator System.Reflection.Emit.ILGenerator IL Generator
리턴 void

ToString() 공개 메소드

property as a string
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

Increments the property by one
public static operator ( ) : DefaultPropertyBuilder
리턴 DefaultPropertyBuilder