C# Класс ServiceClientGenerator.GenerationManifest

Loads the generator control manifest document. This document yields the Visual Studio project metadata (for new project files that we create) and the set of service configurations available to process.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Load ( string manifestPath, string versionsPath, string modelsFolder ) : GenerationManifest

Processes the control manifest to yield the set of services available to generate and the Visual Studio project file information used to create new projects for services.

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

Метод Описание
DetermineCustomizationsPath ( string model ) : string

Finds the customizations file in \customizations as model.customizations.json if it's there

DetermineModelPath ( string model, string modelsFolder ) : string

Finds the full path to the model*.normal.json file in order to parse the config

GenerationManifest ( ) : System
LoadJsonFromFile ( string path ) : JsonData

Loads a JsonData object for data in a given file.

LoadProjectConfigurations ( JsonData document ) : void

Parses the Visual Studio project metadata entries from the manifest. These are used when generating project files for a service. Sets the ProjectFileConfigurations member on exit with the collection of loaded configurations.

LoadServiceConfigurations ( JsonData manifest, string coreVersion, JsonData versions, string modelsFolder ) : void

Parses the service configuration metadata from the supplied manifest document, fixing up file references to the actual service model and customization files. Sets the ServiceConfigurations member on exit with the collection of loaded configurations.

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

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

Processes the control manifest to yield the set of services available to generate and the Visual Studio project file information used to create new projects for services.
public static Load ( string manifestPath, string versionsPath, string modelsFolder ) : GenerationManifest
manifestPath string Path to the manifest file to pull basic info from
versionsPath string
modelsFolder string Path to the service models to be parsed
Результат GenerationManifest