C# Class CodeConnect.SyntaxFactoryVsParseText.Benchmark.SyntaxFactoryCodeGenerator

Inheritance: CodeGenerator
Show file Open project: CodeConnect/SyntaxFactoryVsParseText Class Usage Examples

Public Methods

Method Description
GenerateType ( int methodCalls, bool complexMethods ) : Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax
ToString ( ) : string

Private Methods

Method Description
getAllMembers ( ) : IEnumerable
getMethodBody ( string methodName ) : BlockSyntax
getMethodInvocations ( ) : IEnumerable

Gets the body of the invocation method, for example { var aliveIntermediate = new HelloTest(); { aliveIntermediate.TestFixtureSetUp(); aliveIntermediate.SetUp(); aliveIntermediate.TestMethod1(); aliveIntermediate.TearDown(); aliveIntermediate.TestFixtureTearDown(); } }

getMethods ( ) : IEnumerable
getRunMethod ( ) : MemberDeclarationSyntax

Method Details

GenerateType() public method

public GenerateType ( int methodCalls, bool complexMethods ) : Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax
methodCalls int
complexMethods bool
return Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax

ToString() public method

public ToString ( ) : string
return string