Method | Description | |
---|---|---|
CSharpCodeGenerator ( IBuildSystem buildSystem, |
Initializes a new instance of the CSharpCodeGenerator class based the given CodeNamespace which will output to the given directory.
|
|
GenerateCode ( ) : void |
This methods actually performs the code generation for the file current System.CodeDom.CodeNamespace. All classes within the namespace will have exactly one file generated for them.
|
Method | Description | |
---|---|---|
CreateStubForCodeMemberMethod ( |
Creates the stub for the code member method. This method actually implements the method body for the test method.
|
|
RemoveDuplicatedMembers ( |
Since types can contain multiple overloads of the same method, once we remove the parameters from every method our type may have the many duplicates of the same method. This method removes those duplicates.
|
|
WriteClassFile ( string className, |
Writes the class file. This method actually creates the physical class file and populates it accordingly.
|
public CSharpCodeGenerator ( IBuildSystem buildSystem, |
||
buildSystem | IBuildSystem | The build system. |
codeNamespace | The code namespace. | |
testBuilders | IMemberBuilderFactory | The test builders. |
configuration | ICodeGeneratorParameters | The configuration. |
return | System |