C# Класс TerrificNet.Generator.GeneratorUtility

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ExecuteAsync() публичный статический Метод

public static ExecuteAsync ( string sourcePath, string outputAssembly, string rootNamespace = null ) : System.Threading.Tasks.Task
sourcePath string
outputAssembly string
rootNamespace string
Результат System.Threading.Tasks.Task

ExecuteFileAsync() публичный статический Метод

public static ExecuteFileAsync ( string sourcePath, string fileName, string rootNamespace = null ) : System.Threading.Tasks.Task
sourcePath string
fileName string
rootNamespace string
Результат System.Threading.Tasks.Task

ExecuteString() публичный статический Метод

public static ExecuteString ( string sourcePath, string rootNamespace = null ) : string
sourcePath string
rootNamespace string
Результат string

ExecuteStringAsync() публичный статический Метод

public static ExecuteStringAsync ( string sourcePath, string rootNamespace = null ) : Task
sourcePath string
rootNamespace string
Результат Task