C# 클래스 MixinRefactoring.ClassFactory

can create class objects either from plain source code or from symbol information. Even when source code is read, symbol information is needed to resolve the base class. Furhter base classes will be resolved recursivly.
파일 보기 프로젝트 열기: pgenfer/mixinSharp 1 사용 예제들

공개 메소드들

메소드 설명
ClassFactory ( Microsoft.CodeAnalysis.SemanticModel semantic ) : Microsoft.CodeAnalysis
Create ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax classDeclaration ) : ClassWithSourceCode
Create ( ITypeSymbol classSymbol ) : ClassWithTypeSymbol

메소드 상세

ClassFactory() 공개 메소드

public ClassFactory ( Microsoft.CodeAnalysis.SemanticModel semantic ) : Microsoft.CodeAnalysis
semantic Microsoft.CodeAnalysis.SemanticModel
리턴 Microsoft.CodeAnalysis

Create() 공개 메소드

public Create ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax classDeclaration ) : ClassWithSourceCode
classDeclaration Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
리턴 ClassWithSourceCode

Create() 공개 메소드

public Create ( ITypeSymbol classSymbol ) : ClassWithTypeSymbol
classSymbol ITypeSymbol
리턴 ClassWithTypeSymbol