C# Class Reinforced.Typings.TsExporter

Facade for final TypeScript export. This class supplies assemblies names or assemblies itself as parameter and exports resulting TypeScript file to file or to string
Inheritance: System.MarshalByRefObject
Datei anzeigen Open project: reinforced/Reinforced.Typings

Public Methods

Method Description
Export ( ) : void

Exports TypeScript source according to settings

ExportAll ( ) : string

Exports TypeScript source to string

TsExporter ( ExportContext context ) : System

Constructs new instance of TypeScript exporter

Private Methods

Method Description
ExportNamespaces ( IEnumerable types, TypeResolver tr, TextWriter tw ) : void
ExportReferences ( TextWriter tw, IEnumerable types = null ) : void
ExportTypes ( TextWriter sw, TypeResolver tr, IEnumerable types = null ) : void

Exports TypeScript source to specified TextWriter according to settings

ExtractReferences ( ) : void
WriteWarning ( TextWriter tw ) : void

Method Details

Export() public method

Exports TypeScript source according to settings
public Export ( ) : void
return void

ExportAll() public method

Exports TypeScript source to string
public ExportAll ( ) : string
return string

TsExporter() public method

Constructs new instance of TypeScript exporter
public TsExporter ( ExportContext context ) : System
context ExportContext
return System