C# Класс 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
Наследование: Class, IConstructorList
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddConstructor() публичный Метод

public AddConstructor ( Constructor constructor ) : void
constructor Constructor
Результат void

AllConstructorsHaveParameter() публичный Метод

public AllConstructorsHaveParameter ( string parameterName ) : bool
parameterName string
Результат bool

ClassWithSourceCode() публичный Метод

This constructor is only for test cases, don't use it in production code
public ClassWithSourceCode ( ) : Microsoft.CodeAnalysis.CSharp.Syntax
Результат Microsoft.CodeAnalysis.CSharp.Syntax

ClassWithSourceCode() публичный Метод

public ClassWithSourceCode ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax classDeclaration ) : Microsoft.CodeAnalysis.CSharp.Syntax
classDeclaration Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
Результат Microsoft.CodeAnalysis.CSharp.Syntax