C# Class Google.Apis.Tools.CodeGen.Decorator.ResourceDecorator.RequestMethodResourceDecorator.ResourceGenerator

Inheritance: Google.Apis.Tools.CodeGen.Generator.ResourceBaseGenerator
Datei anzeigen Open project: artzub/LoggenCSG Class Usage Examples

Public Methods

Method Description
CreateMethod ( CodeTypeDeclaration classDeclaration, IResource resource, IMethod method, bool addOptionalParameters, MethodType methodType ) : CodeMemberMethod
GetBodyType ( IMethod method ) : CodeTypeReference
ResourceGenerator ( string className, IObjectTypeProvider objectTypeProvider, IMethodCommentCreator commentCreator ) : System.CodeDom

Protected Methods

Method Description
GetClassName ( ) : string

Private Methods

Method Description
AddDeclaredParameters ( CodeTypeDeclaration classDeclaration, IMethod method, CodeMemberMethod member, CodeExpressionCollection constructorParameters, bool addOptionalParameters ) : void

Method Details

CreateMethod() public method

public CreateMethod ( CodeTypeDeclaration classDeclaration, IResource resource, IMethod method, bool addOptionalParameters, MethodType methodType ) : CodeMemberMethod
classDeclaration System.CodeDom.CodeTypeDeclaration
resource IResource
method IMethod
addOptionalParameters bool
methodType MethodType
return System.CodeDom.CodeMemberMethod

GetBodyType() public method

public GetBodyType ( IMethod method ) : CodeTypeReference
method IMethod
return System.CodeDom.CodeTypeReference

GetClassName() protected method

protected GetClassName ( ) : string
return string

ResourceGenerator() public method

public ResourceGenerator ( string className, IObjectTypeProvider objectTypeProvider, IMethodCommentCreator commentCreator ) : System.CodeDom
className string
objectTypeProvider IObjectTypeProvider
commentCreator IMethodCommentCreator
return System.CodeDom