Метод | Описание | |
---|---|---|
Execute ( ) : void | ||
ExecuteCustomizationTestGenerator ( |
Runs the generator and saves the content in the test directory.
|
|
ExecuteExampleGenerator ( |
||
ExecuteGenerator ( |
Runs the generator and saves the content into _bcl35 directory under the generated files root.
|
|
ExecuteGeneratorAssemblyInfo ( ) : void | ||
ExecuteNugetFileGenerators ( ) : void | ||
ExecuteProjectFileGenerators ( ) : void |
Generates any missing project files for a service
|
|
ExecuteTestGenerator ( |
Runs the generator and saves the content in the test directory.
|
|
GenerateCodeAnalysisProject ( ) : void | ||
GenerateCoreProjects ( |
||
GenerateCustomizationTests ( ) : void |
Generates tests for the customizations of the service
|
|
GenerateExceptions ( Operation operation ) : void |
Generates exception classes in the model namespaces for exceptions declared in the service model.
|
|
GenerateNuspec ( ) : void | ||
GeneratePackagesConfig ( ) : void | ||
GenerateRequest ( Operation operation ) : void |
Generates the request class for the operation.
|
|
GenerateRequestMarshaller ( Operation operation ) : void |
Generates the request marshaller.
|
|
GenerateResponseUnmarshaller ( Operation operation ) : void |
Generates the response unmarshaller along with any dependent structure unmarshallers that are called by this response unmarshaller.
|
|
GenerateStructures ( ) : void |
Generates all the POCOs that go in the Model namespace for the structures defined in the service model.
|
|
GenerateUnmarshaller ( List |
||
GenerateXamarinComponents ( ) : void | ||
GeneratorDriver ( |
||
GetRequestMarshaller ( BaseRequestMarshaller &marshaller, bool &normalizeMarshallers ) : void |
Sets the marshaller of the generator based on the service type
|
|
RemoveOrphanedShapes ( HashSet |
||
UpdateAssemblyVersionInfo ( |
||
UpdateCodeAnalysisSoltion ( |
||
UpdateCoreCLRTestDependencies ( |
||
UpdateNuGetPackagesInReadme ( |
||
UpdateSolutionFiles ( |
||
UpdateUnitTestProjectReferences ( |
Update project references in unit test projects to include any new services.
|
Метод | Описание | |
---|---|---|
ConvertHtmlToMarkDown ( string text ) : string | ||
DetermineStructuresToProcess ( |
||
GenerateResponse ( Operation operation ) : void |
Generate the response class for the operation.
|
|
GetMinVersion ( System.Version version ) : System.Version | ||
GetMinVersion ( string versionText ) : System.Version | ||
GetResponseUnmarshaller ( ) : BaseResponseUnmarshaller |
Determines the type of response unmarshaller to be used based on the service model type
|
|
GetStructureMarshaller ( ) : BaseRequestMarshaller |
Determines the type of marshaller that needs to be generated based on the service model type
|
|
GetStructureUnmarshaller ( ) : BaseResponseUnmarshaller |
Determines the Unmarshaller for structures based on the service model type
|
|
IsExceptionPresentInParentModel ( |
||
IsShapePresentInParentModel ( |
||
IsShapeReferred ( string shapeName, |
Checks if the shape is referred directly by another shape
|
|
WriteFile ( string baseOutputDir, string subNamespace, string filename, string content, bool trimWhitespace = true, bool replaceTabs = true ) : bool | ||
WriteFile ( string baseOutputDir, string subNamespace, string filename, string content, bool trimWhitespace, bool replaceTabs, string &outputFilePath ) : bool |
Writes the contents to disk. The content will by default be trimmed of all white space and all tabs are replaced with spaces to make the output consistent.
|
public ExecuteCustomizationTestGenerator ( |
||
generator | The generator to use for outputting the text of the cs file | |
fileName | string | The name of the cs file |
subNamespace | string | Adds an additional directory for the namespace |
Результат | void |
public ExecuteExampleGenerator ( |
||
generator | ||
fileName | string | |
subNamespace | string | |
Результат | void |
public ExecuteGenerator ( |
||
generator | The generator to use for outputting the text of the cs file | |
fileName | string | The name of the cs file |
subNamespace | string | Adds an additional directory for the namespace |
Результат | void |
public ExecuteGeneratorAssemblyInfo ( ) : void | ||
Результат | void |
public ExecuteNugetFileGenerators ( ) : void | ||
Результат | void |
public ExecuteProjectFileGenerators ( ) : void | ||
Результат | void |
public ExecuteTestGenerator ( |
||
generator | The generator to use for outputting the text of the cs file | |
fileName | string | The name of the cs file |
subNamespace | string | Adds an additional directory for the namespace |
Результат | void |
public GenerateCodeAnalysisProject ( ) : void | ||
Результат | void |
public static GenerateCoreProjects ( |
||
generationManifest | ||
options | ||
Результат | void |
public GenerateCustomizationTests ( ) : void | ||
Результат | void |
public GenerateExceptions ( Operation operation ) : void | ||
operation | Operation | The operation to generate exceptions for |
Результат | void |
public GenerateRequest ( Operation operation ) : void | ||
operation | Operation | The operation object which contains info about what the request needs to contain for the operation |
Результат | void |
public GenerateRequestMarshaller ( Operation operation ) : void | ||
operation | Operation | The operation to generate request marshallers for |
Результат | void |
public GenerateResponseUnmarshaller ( Operation operation ) : void | ||
operation | Operation | The operation to generate the unmarshaller for |
Результат | void |
public GenerateUnmarshaller ( List |
||
structures | List |
|
Результат | void |
public GenerateXamarinComponents ( ) : void | ||
Результат | void |
public GeneratorDriver ( |
||
config | ||
generationManifest | ||
options | ||
Результат | System |
public GetRequestMarshaller ( BaseRequestMarshaller &marshaller, bool &normalizeMarshallers ) : void | ||
marshaller | BaseRequestMarshaller | The marshaller to be set |
normalizeMarshallers | bool | If the service type is a type of json then normalizeMarshallers is set to true, false otherwise |
Результат | void |
public static RemoveOrphanedShapes ( HashSet |
||
generatedFiles | HashSet |
|
rootFolder | string | |
Результат | void |
public static UpdateAssemblyVersionInfo ( |
||
manifest | ||
options | ||
Результат | void |
public static UpdateCodeAnalysisSoltion ( |
||
manifest | ||
options | ||
Результат | void |
public static UpdateCoreCLRTestDependencies ( |
||
manifest | ||
options | ||
Результат | void |
public static UpdateNuGetPackagesInReadme ( |
||
manifest | ||
options | ||
Результат | void |
public static UpdateSolutionFiles ( |
||
manifest | ||
options | ||
Результат | void |
public static UpdateUnitTestProjectReferences ( |
||
options | ||
Результат | void |