C# Class Rosetta.Translation.EnumTranslationUnit

Describes enums.
Internal members protected for testability.
Inheritance: ScopedElementTranslationUnit, ITranslationUnit, ICompoundTranslationUnit, ITranslationInjector
Datei anzeigen Open project: andry-tino/Rosetta Class Usage Examples

Protected Properties

Property Type Description
injectedBefore ITranslationUnit
members IEnumerable

Public Methods

Method Description
AddMember ( ITranslationUnit translationUnit ) : void

Create ( VisibilityToken visibility, ITranslationUnit name ) : EnumTranslationUnit

EnumTranslationUnit ( EnumTranslationUnit other ) : System

Copy initializes a new instance of the EnumTranslationUnit class.

For testability.

Translate ( ) : string

Translate the unit into TypeScript.

Protected Methods

Method Description
EnumTranslationUnit ( ) : System

Initializes a new instance of the EnumTranslationUnit class.

Method Details

AddMember() public method

public AddMember ( ITranslationUnit translationUnit ) : void
translationUnit ITranslationUnit
return void

Create() public static method

public static Create ( VisibilityToken visibility, ITranslationUnit name ) : EnumTranslationUnit
visibility VisibilityToken
name ITranslationUnit
return EnumTranslationUnit

EnumTranslationUnit() protected method

Initializes a new instance of the EnumTranslationUnit class.
protected EnumTranslationUnit ( ) : System
return System

EnumTranslationUnit() public method

Copy initializes a new instance of the EnumTranslationUnit class.
For testability.
public EnumTranslationUnit ( EnumTranslationUnit other ) : System
other EnumTranslationUnit
return System

Translate() public method

Translate the unit into TypeScript.
public Translate ( ) : string
return string

Property Details

injectedBefore protected_oe property

protected ITranslationUnit injectedBefore
return ITranslationUnit

members protected_oe property

protected IEnumerable members
return IEnumerable