C# Class ToTypeScriptD.Core.WinMD.TypeWriterBase

Inheritance: ITypeWriter
ファイルを表示 Open project: ToTypeScriptD/ToTypeScriptD

Public Methods

Method Description
Indent ( StringBuilder sb ) : void
TypeWriterBase ( Mono.Cecil.TypeDefinition typeDefinition, int indentCount, ToTypeScriptD.Core.TypeWriters.TypeCollection typeCollection, ConfigBase config ) : System
Write ( StringBuilder sb ) : void
Write ( StringBuilder sb, System.Action midWrite ) : void

Private Methods

Method Description
IsTypeArray ( TypeReference typeReference, string &genericTypeArgName ) : bool
IsTypeArray ( string &genericTypeArgName ) : bool
IsTypeAsync ( TypeReference typeReference, string &genericTypeArgName ) : bool
IsTypeAsync ( string &genericTypeArgName ) : bool
WriteAsyncPromiseMethods ( StringBuilder sb ) : void
WriteEvents ( StringBuilder sb ) : void
WriteExportedInterfaces ( StringBuilder sb, string inheriterString ) : void
WriteExtendedTypes ( StringBuilder sb, List extendedTypes ) : void
WriteFields ( StringBuilder sb ) : void
WriteGenerics ( StringBuilder sb ) : void
WriteMethods ( StringBuilder sb ) : List
WriteNestedTypes ( StringBuilder sb ) : void
WriteOutMethodSignatures ( StringBuilder sb, string exportType, string inheriterString ) : void
WriteProperties ( StringBuilder sb, bool &wroteALengthProperty ) : void
WriteVectorArrayPrototypeExtensions ( StringBuilder sb, bool wroteALengthProperty ) : void

Method Details

Indent() public method

public Indent ( StringBuilder sb ) : void
sb StringBuilder
return void

TypeWriterBase() public method

public TypeWriterBase ( Mono.Cecil.TypeDefinition typeDefinition, int indentCount, ToTypeScriptD.Core.TypeWriters.TypeCollection typeCollection, ConfigBase config ) : System
typeDefinition Mono.Cecil.TypeDefinition
indentCount int
typeCollection ToTypeScriptD.Core.TypeWriters.TypeCollection
config ConfigBase
return System

Write() public abstract method

public abstract Write ( StringBuilder sb ) : void
sb StringBuilder
return void

Write() public method

public Write ( StringBuilder sb, System.Action midWrite ) : void
sb StringBuilder
midWrite System.Action
return void