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.
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

ExecuteCore() public méthode

public ExecuteCore ( string coreFilesRoot, IEnumerable projectFileConfigurations ) : void
coreFilesRoot string
projectFileConfigurations IEnumerable
Résultat void

ProjectFileCreator() public méthode

public ProjectFileCreator ( GeneratorOptions options ) : System
options GeneratorOptions
Résultat System