C# Class Utilities.DataTypes.AOP.Generators.PropertyGenerator

Property generator
Inheritance: Utilities.DataTypes.AOP.Generators.BaseClasses.GeneratorBase
ファイルを表示 Open project: JaCraig/Craig-s-Utility-Library

Public Methods

Method Description
Generate ( List assembliesUsing, IEnumerable aspects ) : string

Generates this instance.

PropertyGenerator ( PropertyInfo propertyInfo ) : System

Initializes a new instance of the PropertyGenerator class.

ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Method Description
CreateBackingField ( bool v ) : string
SetupMethod ( Type type, MethodInfo methodInfo, IEnumerable aspects ) : string

Method Details

Generate() public method

Generates this instance.
public Generate ( List assembliesUsing, IEnumerable aspects ) : string
assembliesUsing List The assemblies using.
aspects IEnumerable The aspects.
return string

PropertyGenerator() public method

Initializes a new instance of the PropertyGenerator class.
public PropertyGenerator ( PropertyInfo propertyInfo ) : System
propertyInfo System.Reflection.PropertyInfo The property information.
return System

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string