C# Class Rosetta.Translation.InterfaceDeclarationTranslationUnit

Translation unit for describing interfaces.
Internal members protected for testability.
Inheritance: ScopedElementTranslationUnit, ITranslationUnit, ICompoundTranslationUnit, ITranslationInjector
Afficher le fichier Open project: andry-tino/Rosetta Class Usage Examples

Protected Properties

Свойство Type Description
injectedBefore ITranslationUnit
signatures IEnumerable

Méthodes publiques

Méthode Description
AddExtendedInterface ( ITranslationUnit extendedInterface ) : void

AddSignature ( ITranslationUnit translationUnit ) : void

Create ( VisibilityToken visibility, ITranslationUnit name ) : InterfaceDeclarationTranslationUnit

InterfaceDeclarationTranslationUnit ( InterfaceDeclarationTranslationUnit other ) : System

Copy initializes a new instance of the InterfaceDeclarationTranslationUnit class.

For testability.

Translate ( ) : string

Translate the unit into TypeScript.

Méthodes protégées

Méthode Description
InterfaceDeclarationTranslationUnit ( ) : System

Initializes a new instance of the InterfaceDeclarationTranslationUnit class.

Private Methods

Méthode Description
BuildInterfaceExtensionList ( ) : string

Method Details

AddExtendedInterface() public méthode

public AddExtendedInterface ( ITranslationUnit extendedInterface ) : void
extendedInterface ITranslationUnit
Résultat void

AddSignature() public méthode

public AddSignature ( ITranslationUnit translationUnit ) : void
translationUnit ITranslationUnit
Résultat void

Create() public static méthode

public static Create ( VisibilityToken visibility, ITranslationUnit name ) : InterfaceDeclarationTranslationUnit
visibility VisibilityToken
name ITranslationUnit
Résultat InterfaceDeclarationTranslationUnit

InterfaceDeclarationTranslationUnit() protected méthode

Initializes a new instance of the InterfaceDeclarationTranslationUnit class.
protected InterfaceDeclarationTranslationUnit ( ) : System
Résultat System

InterfaceDeclarationTranslationUnit() public méthode

Copy initializes a new instance of the InterfaceDeclarationTranslationUnit class.
For testability.
public InterfaceDeclarationTranslationUnit ( InterfaceDeclarationTranslationUnit other ) : System
other InterfaceDeclarationTranslationUnit
Résultat System

Translate() public méthode

Translate the unit into TypeScript.
public Translate ( ) : string
Résultat string

Property Details

injectedBefore protected_oe property

protected ITranslationUnit injectedBefore
Résultat ITranslationUnit

signatures protected_oe property

protected IEnumerable signatures
Résultat IEnumerable