C# Class ServiceClientGenerator.Generators.BaseGenerator

Inheritance: BaseGeneratorBase
Datei anzeigen Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
AddAsyncDocumentation ( string operationName ) : void
AddBeginAsyncDocumentation ( string operationName ) : void
AddEndAsyncDocumentation ( string operationName ) : void
AddLicenseHeader ( ) : void
AddSimpleClientMethodInterfaces ( System.Operation operation, bool isSync ) : void
AddSimpleClientMethodInterfacesForUnity ( System.Operation operation, bool isSync ) : void
AddSimpleClientMethods ( System.Operation operation, bool isSync ) : void
AddSimpleClientMethodsForUnity ( System.Operation operation, bool isSync ) : void
AddSimpleRequestConstructors ( string className, Shape structure, string nameSpace ) : void
AddUnityAsyncDocumentation ( string operationName, bool isSupportedOnlyByUnityWebRequest = false ) : void
CleanupDocumentation ( string documentation ) : string
FormatClassDocumentation ( Shape structure ) : void
FormatExceptionDocumentation ( ExceptionModel exception ) : void
FormatOperationDocumentation ( System.Operation operation, List members, bool isSync ) : void
FormatOperationDocumentationAsync ( System.Operation operation, bool includeRequest ) : void
FormatOperationDocumentationSync ( System.Operation operation, bool includeRequest ) : void
FormatOperationRequestDocumentation ( System.Operation operation ) : void
FormatPropertyDocumentation ( Member member ) : void
FormatServiceClientDocumentation ( string documentation ) : void
FormatServiceInterfaceDocumentation ( string documentation ) : void
FormatSimpleConstructorDocumentation ( string className, IList members ) : void
FormatUnityOperationDocumentation ( System.Operation operation, List members, bool isSync, bool isSupportedOnlyByUnityWebRequest = false ) : void
FormatUnityOperationDocumentationAsync ( System.Operation operation, bool includeRequest, bool isSupportedOnlyByUnityWebRequest = false ) : void
FormatUnityOperationDocumentationSync ( System.Operation operation, bool includeRequest, bool isSupportedOnlyByUnityWebRequest = false ) : void
FormatVoidResultDocumentation ( string operationName ) : void
TransformText ( ) : string

Create the template output

Private Methods

Method Description
FormatOperationDocumentationHelper ( System.Operation operation, bool includeRequest, bool isAsync, bool isUnity, bool isSupportedOnlyByUnityWebRequest = false ) : void
RemoveSnippets ( string documentation, string startToken, string endToken ) : string
WriteCommentBlock ( string spaceBlock, string block ) : void

Method Details

AddAsyncDocumentation() public method

public AddAsyncDocumentation ( string operationName ) : void
operationName string
return void

AddBeginAsyncDocumentation() public method

public AddBeginAsyncDocumentation ( string operationName ) : void
operationName string
return void

AddEndAsyncDocumentation() public method

public AddEndAsyncDocumentation ( string operationName ) : void
operationName string
return void

AddLicenseHeader() public method

public AddLicenseHeader ( ) : void
return void

AddSimpleClientMethodInterfaces() public method

public AddSimpleClientMethodInterfaces ( System.Operation operation, bool isSync ) : void
operation System.Operation
isSync bool
return void

AddSimpleClientMethodInterfacesForUnity() public method

public AddSimpleClientMethodInterfacesForUnity ( System.Operation operation, bool isSync ) : void
operation System.Operation
isSync bool
return void

AddSimpleClientMethods() public method

public AddSimpleClientMethods ( System.Operation operation, bool isSync ) : void
operation System.Operation
isSync bool
return void

AddSimpleClientMethodsForUnity() public method

public AddSimpleClientMethodsForUnity ( System.Operation operation, bool isSync ) : void
operation System.Operation
isSync bool
return void

AddSimpleRequestConstructors() public method

public AddSimpleRequestConstructors ( string className, Shape structure, string nameSpace ) : void
className string
structure Shape
nameSpace string
return void

AddUnityAsyncDocumentation() public method

public AddUnityAsyncDocumentation ( string operationName, bool isSupportedOnlyByUnityWebRequest = false ) : void
operationName string
isSupportedOnlyByUnityWebRequest bool
return void

CleanupDocumentation() public method

public CleanupDocumentation ( string documentation ) : string
documentation string
return string

FormatClassDocumentation() public method

public FormatClassDocumentation ( Shape structure ) : void
structure Shape
return void

FormatExceptionDocumentation() public method

public FormatExceptionDocumentation ( ExceptionModel exception ) : void
exception ExceptionModel
return void

FormatOperationDocumentation() public method

public FormatOperationDocumentation ( System.Operation operation, List members, bool isSync ) : void
operation System.Operation
members List
isSync bool
return void

FormatOperationDocumentationAsync() public method

public FormatOperationDocumentationAsync ( System.Operation operation, bool includeRequest ) : void
operation System.Operation
includeRequest bool
return void

FormatOperationDocumentationSync() public method

public FormatOperationDocumentationSync ( System.Operation operation, bool includeRequest ) : void
operation System.Operation
includeRequest bool
return void

FormatOperationRequestDocumentation() public method

public FormatOperationRequestDocumentation ( System.Operation operation ) : void
operation System.Operation
return void

FormatPropertyDocumentation() public method

public FormatPropertyDocumentation ( Member member ) : void
member Member
return void

FormatServiceClientDocumentation() public method

public FormatServiceClientDocumentation ( string documentation ) : void
documentation string
return void

FormatServiceInterfaceDocumentation() public method

public FormatServiceInterfaceDocumentation ( string documentation ) : void
documentation string
return void

FormatSimpleConstructorDocumentation() public method

public FormatSimpleConstructorDocumentation ( string className, IList members ) : void
className string
members IList
return void

FormatUnityOperationDocumentation() public method

public FormatUnityOperationDocumentation ( System.Operation operation, List members, bool isSync, bool isSupportedOnlyByUnityWebRequest = false ) : void
operation System.Operation
members List
isSync bool
isSupportedOnlyByUnityWebRequest bool
return void

FormatUnityOperationDocumentationAsync() public method

public FormatUnityOperationDocumentationAsync ( System.Operation operation, bool includeRequest, bool isSupportedOnlyByUnityWebRequest = false ) : void
operation System.Operation
includeRequest bool
isSupportedOnlyByUnityWebRequest bool
return void

FormatUnityOperationDocumentationSync() public method

public FormatUnityOperationDocumentationSync ( System.Operation operation, bool includeRequest, bool isSupportedOnlyByUnityWebRequest = false ) : void
operation System.Operation
includeRequest bool
isSupportedOnlyByUnityWebRequest bool
return void

FormatVoidResultDocumentation() public method

public FormatVoidResultDocumentation ( string operationName ) : void
operationName string
return void

TransformText() public method

Create the template output
public TransformText ( ) : string
return string