C# Класс ServiceClientGenerator.ProjectFileCreator

Class used to emit the set of per-platform project files for a service. Existing project files are retained, only missing files are generated.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Execute ( string serviceFilesRoot, ServiceConfiguration serviceConfiguration, IEnumerable projectFileConfigurations ) : void

Creates the platform-specific project files for the given service configuration

ExecuteCore ( string coreFilesRoot, IEnumerable projectFileConfigurations ) : void
ProjectFileCreator ( GeneratorOptions options ) : System

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

Метод Описание
GenerateCoreCLRProjectFiles ( string serviceFilesRoot, ServiceConfiguration serviceConfiguration, string assemblyName ) : void
GenerateProjectFile ( ProjectFileConfiguration projectFileConfiguration, ProjectConfigurationData projectConfiguration, object>.IDictionary session, string serviceFilesRoot, string projectFilename ) : void

Invokes the T4 generator to emit a platform-specific project file.

GetCoreProjectSourceFolders ( ProjectFileConfiguration projectFileConfiguration, string coreRootFolder ) : IList

Returns the collection of subfolders containing source code that need to be included in the project file. This is comprised the standard platform folders under Generated, plus any custom folders we find that are not otherwise handled (eg Properties).

GetProjectSourceFolders ( ProjectFileConfiguration projectFileConfiguration, string serviceRootFolder ) : IList

Returns the collection of subfolders containing source code that need to be included in the project file. This is comprised the standard platform folders under Generated, plus any custom folders we find that are not otherwise handled (eg Properties).

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

Execute() публичный Метод

Creates the platform-specific project files for the given service configuration
public Execute ( string serviceFilesRoot, ServiceConfiguration serviceConfiguration, IEnumerable projectFileConfigurations ) : void
serviceFilesRoot string The folder under which all of the source files for the service will exist
serviceConfiguration ServiceConfiguration
projectFileConfigurations IEnumerable
Результат void

ExecuteCore() публичный Метод

public ExecuteCore ( string coreFilesRoot, IEnumerable projectFileConfigurations ) : void
coreFilesRoot string
projectFileConfigurations IEnumerable
Результат void

ProjectFileCreator() публичный Метод

public ProjectFileCreator ( GeneratorOptions options ) : System
options GeneratorOptions
Результат System