Craig's Utility Library
4.0 Beta
|
Class generator interface More...
Public Member Functions | |
ClassGenerator (Type declaringType, ConcurrentBag< IAspect > aspects) | |
Initializes a new instance of the ClassGenerator class. More... | |
string | Generate (string @namespace, string className, List< string > usings, List< Type > interfaces, List< Assembly > assembliesUsing) |
Generates the specified type. More... | |
Properties | |
ConcurrentBag< IAspect > | Aspects [get] |
Gets the aspects. More... | |
Type | DeclaringType [get] |
Gets or sets the type of the declaring. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Utilities.DataTypes.AOP.Generators.BaseClasses.GeneratorBase | |
GeneratorBase () | |
Initializes a new instance of the GeneratorBase class. More... | |
Assembly[] | GetAssemblies (Type type) |
Gets the assemblies associated with the type. More... | |
Assembly[] | GetAssembliesSimple (Type type) |
Gets the assemblies associated with the type. More... | |
Class generator interface
Definition at line 16 of file ClassGenerator.cs.
Utilities.DataTypes.AOP.Generators.ClassGenerator.ClassGenerator | ( | Type | declaringType, |
ConcurrentBag< IAspect > | aspects | ||
) |
Initializes a new instance of the ClassGenerator class.
declaringType | Type of the declaring. |
aspects | The aspects. |
Definition at line 23 of file ClassGenerator.cs.
string Utilities.DataTypes.AOP.Generators.ClassGenerator.Generate | ( | string @ | namespace, |
string | className, | ||
List< string > | usings, | ||
List< Type > | interfaces, | ||
List< Assembly > | assembliesUsing | ||
) |
Generates the specified type.
namespace | The namespace. |
className | Name of the class. |
usings | The usings. |
interfaces | The interfaces. |
assembliesUsing | The assemblies using. |
Implements Utilities.DataTypes.AOP.Interfaces.IClassGenerator.
Definition at line 50 of file ClassGenerator.cs.
|
getprotected |
|
getprotected |
Gets or sets the type of the declaring.
The type of the declaring.
Definition at line 39 of file ClassGenerator.cs.