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
파일 보기 프로젝트 열기: pgenfer/mixinSharp 1 사용 예제들

공개 메소드들

메소드 설명
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