C# Class CodeConnect.SyntaxFactoryVsParseText.Benchmark.CodeGenerator

Show file Open project: CodeConnect/SyntaxFactoryVsParseText

Public Methods

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

Protected Methods

Method Description
getIdentifierNames ( int howMany ) : IEnumerable
getRandomIdentifierName ( ) : string

Method Details

CodeGenerator() public method

public CodeGenerator ( ) : System
return System

GenerateType() public abstract method

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

getIdentifierNames() protected method

protected getIdentifierNames ( int howMany ) : IEnumerable
howMany int
return IEnumerable

getRandomIdentifierName() protected method

protected getRandomIdentifierName ( ) : string
return string