C# Class Yea.Reflection.Emit.DefaultPropertyBuilder

Helper class for defining default properties
Inheritance: Yea.Reflection.Emit.BaseClasses.VariableBase, IPropertyBuilder
Afficher le fichier Open project: OxPatient/Rule-Engine Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

DefaultPropertyBuilder() public méthode

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
Résultat System

GetDefinition() public méthode

Gets the definition of the property
public GetDefinition ( ) : string
Résultat string

Load() public méthode

Loads the property
public Load ( ILGenerator generator ) : void
generator System.Reflection.Emit.ILGenerator IL Generator
Résultat void

Save() public méthode

Saves the property
public Save ( ILGenerator generator ) : void
generator System.Reflection.Emit.ILGenerator IL Generator
Résultat void

ToString() public méthode

property as a string
public ToString ( ) : string
Résultat string

operator() public static méthode

Increments the property by one
public static operator ( ) : DefaultPropertyBuilder
Résultat DefaultPropertyBuilder