C# Class MixinRefactoring.ClassWithSourceCode

this class contains also its syntax node which was used to create it. It can be used to extend the syntax later with delegation methods
Inheritance: Class, IConstructorList
Show file Open project: pgenfer/mixinSharp Class Usage Examples

Public Methods

Method Description
AddConstructor ( Constructor constructor ) : void
AllConstructorsHaveParameter ( string parameterName ) : bool
ClassWithSourceCode ( ) : Microsoft.CodeAnalysis.CSharp.Syntax

This constructor is only for test cases, don't use it in production code

ClassWithSourceCode ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax classDeclaration ) : Microsoft.CodeAnalysis.CSharp.Syntax

Method Details

AddConstructor() public method

public AddConstructor ( Constructor constructor ) : void
constructor Constructor
return void

AllConstructorsHaveParameter() public method

public AllConstructorsHaveParameter ( string parameterName ) : bool
parameterName string
return bool

ClassWithSourceCode() public method

This constructor is only for test cases, don't use it in production code
public ClassWithSourceCode ( ) : Microsoft.CodeAnalysis.CSharp.Syntax
return Microsoft.CodeAnalysis.CSharp.Syntax

ClassWithSourceCode() public method

public ClassWithSourceCode ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax classDeclaration ) : Microsoft.CodeAnalysis.CSharp.Syntax
classDeclaration Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
return Microsoft.CodeAnalysis.CSharp.Syntax