C# Class ServiceClientGenerator.ProjectFileConfiguration

Represents the metadata needed to generate a platform-specific project file for a service (eg compile constants, build configuration and platform etc).
Datei anzeigen Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
IsPlatformCodeFolder ( string sourceFolder ) : bool

Returns true if the last component of the specified folder path begins with '_' character, our convention for representing platform-specific code.

IsValidPlatformPathForProject ( string sourceFolder ) : bool

Returns true if the specified path folder names conforms with the platform folder names declared for this configuration.

Private Methods

Method Description
GetPlatformFolderName ( string folder ) : string

Returns true if the specified folder ends with one of the custom code platform folder names declared for this configuration.

Method Details

IsPlatformCodeFolder() public method

Returns true if the last component of the specified folder path begins with '_' character, our convention for representing platform-specific code.
public IsPlatformCodeFolder ( string sourceFolder ) : bool
sourceFolder string
return bool

IsValidPlatformPathForProject() public method

Returns true if the specified path folder names conforms with the platform folder names declared for this configuration.
public IsValidPlatformPathForProject ( string sourceFolder ) : bool
sourceFolder string
return bool