C# 클래스 Rosetta.Translation.ClassDeclarationTranslationUnit

Interface for describing compound translation elements.
Internal members protected for testability.
상속: ScopedElementTranslationUnit, ITranslationUnit, ICompoundTranslationUnit, ITranslationInjector
파일 보기 프로젝트 열기: andry-tino/Rosetta 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
constructorDeclarations IEnumerable
injectedBefore ITranslationUnit
memberDeclarations IEnumerable
methodDeclarations IEnumerable
propertyDeclarations IEnumerable

공개 메소드들

메소드 설명
AddConstructorDeclaration ( ITranslationUnit translationUnit ) : void

AddImplementedInterface ( ITranslationUnit implementedInterface ) : void

AddMemberDeclaration ( ITranslationUnit translationUnit ) : void

AddMethodDeclaration ( ITranslationUnit translationUnit ) : void

AddPropertyDeclaration ( ITranslationUnit translationUnit ) : void

ClassDeclarationTranslationUnit ( ClassDeclarationTranslationUnit other ) : System

Copy initializes a new instance of the ClassDeclarationTranslationUnit class.

For testability.

Create ( VisibilityToken visibility, ITranslationUnit name, ITranslationUnit baseClassName ) : ClassDeclarationTranslationUnit

Translate ( ) : string

Translate the unit into TypeScript.

보호된 메소드들

메소드 설명
ClassDeclarationTranslationUnit ( ) : System

Initializes a new instance of the ClassDeclarationTranslationUnit class.

비공개 메소드들

메소드 설명
BuildClassInheritanceAndInterfaceImplementationList ( ) : string

메소드 상세

AddConstructorDeclaration() 공개 메소드

public AddConstructorDeclaration ( ITranslationUnit translationUnit ) : void
translationUnit ITranslationUnit
리턴 void

AddImplementedInterface() 공개 메소드

public AddImplementedInterface ( ITranslationUnit implementedInterface ) : void
implementedInterface ITranslationUnit
리턴 void

AddMemberDeclaration() 공개 메소드

public AddMemberDeclaration ( ITranslationUnit translationUnit ) : void
translationUnit ITranslationUnit
리턴 void

AddMethodDeclaration() 공개 메소드

public AddMethodDeclaration ( ITranslationUnit translationUnit ) : void
translationUnit ITranslationUnit
리턴 void

AddPropertyDeclaration() 공개 메소드

public AddPropertyDeclaration ( ITranslationUnit translationUnit ) : void
translationUnit ITranslationUnit
리턴 void

ClassDeclarationTranslationUnit() 보호된 메소드

Initializes a new instance of the ClassDeclarationTranslationUnit class.
protected ClassDeclarationTranslationUnit ( ) : System
리턴 System

ClassDeclarationTranslationUnit() 공개 메소드

Copy initializes a new instance of the ClassDeclarationTranslationUnit class.
For testability.
public ClassDeclarationTranslationUnit ( ClassDeclarationTranslationUnit other ) : System
other ClassDeclarationTranslationUnit
리턴 System

Create() 공개 정적인 메소드

public static Create ( VisibilityToken visibility, ITranslationUnit name, ITranslationUnit baseClassName ) : ClassDeclarationTranslationUnit
visibility VisibilityToken
name ITranslationUnit
baseClassName ITranslationUnit
리턴 ClassDeclarationTranslationUnit

Translate() 공개 메소드

Translate the unit into TypeScript.
public Translate ( ) : string
리턴 string

프로퍼티 상세

constructorDeclarations 보호되어 있는 프로퍼티

protected IEnumerable constructorDeclarations
리턴 IEnumerable

injectedBefore 보호되어 있는 프로퍼티

protected ITranslationUnit injectedBefore
리턴 ITranslationUnit

memberDeclarations 보호되어 있는 프로퍼티

protected IEnumerable memberDeclarations
리턴 IEnumerable

methodDeclarations 보호되어 있는 프로퍼티

protected IEnumerable methodDeclarations
리턴 IEnumerable

propertyDeclarations 보호되어 있는 프로퍼티

protected IEnumerable propertyDeclarations
리턴 IEnumerable