C# Class TypescriptGeneration.TypescriptBuilder

Afficher le fichier Open project: HouseOfTheFuture/API-App

Méthodes publiques

Méthode Description
GetTypescriptContracts ( ) : string
GetTypescriptContractsCamelCase ( ) : string

Private Methods

Méthode Description
GenerateClass ( StringBuilder stringBuilder, Type type, TypescriptAttribute attribute, bool camelCase ) : void
GenerateEnum ( StringBuilder stringBuilder, Type type ) : void
GenerateInterface ( StringBuilder stringBuilder, Type type, TypescriptAttribute attribute, bool camelCase ) : void
GenerateTypescript ( StringBuilder stringBuilder, Type type, TypescriptAttribute attribute, bool camelCase ) : void
GetAllProperties ( Type type, bool inheritedTypescriptContracts ) : IEnumerable
GetTypescriptContracts ( bool camelCase ) : string
ToCamelCase ( string s ) : string

Method Details

GetTypescriptContracts() public static méthode

public static GetTypescriptContracts ( ) : string
Résultat string

GetTypescriptContractsCamelCase() public static méthode

public static GetTypescriptContractsCamelCase ( ) : string
Résultat string