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
Afficher le fichier Open project: pgenfer/mixinSharp Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AddConstructor ( Constructor constructor ) : void
constructor Constructor
Résultat void

AllConstructorsHaveParameter() public méthode

public AllConstructorsHaveParameter ( string parameterName ) : bool
parameterName string
Résultat bool

ClassWithSourceCode() public méthode

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

ClassWithSourceCode() public méthode

public ClassWithSourceCode ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax classDeclaration ) : Microsoft.CodeAnalysis.CSharp.Syntax
classDeclaration Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
Résultat Microsoft.CodeAnalysis.CSharp.Syntax