C# Class TerrificNet.Generator.GeneratorUtility

Afficher le fichier Open project: namics/TerrificNet

Méthodes publiques

Méthode Description
ExecuteAsync ( string sourcePath, string outputAssembly, string rootNamespace = null ) : System.Threading.Tasks.Task
ExecuteFileAsync ( string sourcePath, string fileName, string rootNamespace = null ) : System.Threading.Tasks.Task
ExecuteString ( string sourcePath, string rootNamespace = null ) : string
ExecuteStringAsync ( string sourcePath, string rootNamespace = null ) : Task

Private Methods

Méthode Description
CompileToAssembly ( JsonSchemaCodeGenerator codeGenerator, IEnumerable schemas, string outputAssembly, string rootNamespace = null ) : void
ExecuteInternal ( string sourcePath, Action executeAction ) : System.Threading.Tasks.Task
WriteToFile ( JsonSchemaCodeGenerator codeGenerator, IEnumerable schemas, string fileName, string rootNamespace = null ) : void

Method Details

ExecuteAsync() public static méthode

public static ExecuteAsync ( string sourcePath, string outputAssembly, string rootNamespace = null ) : System.Threading.Tasks.Task
sourcePath string
outputAssembly string
rootNamespace string
Résultat System.Threading.Tasks.Task

ExecuteFileAsync() public static méthode

public static ExecuteFileAsync ( string sourcePath, string fileName, string rootNamespace = null ) : System.Threading.Tasks.Task
sourcePath string
fileName string
rootNamespace string
Résultat System.Threading.Tasks.Task

ExecuteString() public static méthode

public static ExecuteString ( string sourcePath, string rootNamespace = null ) : string
sourcePath string
rootNamespace string
Résultat string

ExecuteStringAsync() public static méthode

public static ExecuteStringAsync ( string sourcePath, string rootNamespace = null ) : Task
sourcePath string
rootNamespace string
Résultat Task