C# Class 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.
Mostra file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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).

Method Details

Execute() public method

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
return void

ExecuteCore() public method

public ExecuteCore ( string coreFilesRoot, IEnumerable projectFileConfigurations ) : void
coreFilesRoot string
projectFileConfigurations IEnumerable
return void

ProjectFileCreator() public method

public ProjectFileCreator ( GeneratorOptions options ) : System
options GeneratorOptions
return System