C# 클래스 Google.Apis.Tools.CodeGen.Generator.ResourceBaseGenerator

Abstract implementation of a resource generator.
상속: BaseGenerator
파일 보기 프로젝트 열기: artzub/LoggenCSG

보호된 메소드들

메소드 설명
AddParameterComment ( IMethodCommentCreator commentCreator, CodeMemberMethod member, IParameter param, string parameterName ) : void
AssignParameterToDictionary ( IParameter param, int parameterCount, IMethod method ) : CodeAssignStatement
CreateExecuteCall ( IMethod method ) : CodeMethodInvokeExpression

this.service.ExecuteRequest(...);

CreateExecuteRequest ( IMethod method ) : CodeStatement

ret = this.service.ExecuteRequest(...);

DeclareInputParameter ( CodeTypeDeclaration classDeclaration, IParameter param, IMethod method ) : CodeParameterDeclarationExpression

Creates a declaration for the specified parameter.

GetBodyAsString ( IMethod method ) : System.CodeDom.CodeExpression
GetClassName ( ) : string
ResourceCallAddBodyDeclaration ( IMethod method, CodeMemberMethod member, CodeTypeReference bodyType, bool addBodyIfUnused ) : void

비공개 메소드들

메소드 설명
GetParameterType ( IParameter param ) : Type
GetParameterTypeReference ( CodeTypeDeclaration classDeclaration, IParameter param ) : CodeTypeReference
GetUnderlyingParameterType ( IParameter param ) : Type

Retrieves the underlying, unmodified type of a parameter.

메소드 상세

AddParameterComment() 보호된 메소드

protected AddParameterComment ( IMethodCommentCreator commentCreator, CodeMemberMethod member, IParameter param, string parameterName ) : void
commentCreator IMethodCommentCreator
member System.CodeDom.CodeMemberMethod
param IParameter
parameterName string
리턴 void

AssignParameterToDictionary() 보호된 메소드

protected AssignParameterToDictionary ( IParameter param, int parameterCount, IMethod method ) : CodeAssignStatement
param IParameter
parameterCount int
method IMethod
리턴 System.CodeDom.CodeAssignStatement

CreateExecuteCall() 보호된 메소드

this.service.ExecuteRequest(...);
protected CreateExecuteCall ( IMethod method ) : CodeMethodInvokeExpression
method IMethod
리턴 System.CodeDom.CodeMethodInvokeExpression

CreateExecuteRequest() 보호된 메소드

ret = this.service.ExecuteRequest(...);
protected CreateExecuteRequest ( IMethod method ) : CodeStatement
method IMethod
리턴 System.CodeDom.CodeStatement

DeclareInputParameter() 보호된 메소드

Creates a declaration for the specified parameter.
protected DeclareInputParameter ( CodeTypeDeclaration classDeclaration, IParameter param, IMethod method ) : CodeParameterDeclarationExpression
classDeclaration System.CodeDom.CodeTypeDeclaration
param IParameter
method IMethod
리턴 System.CodeDom.CodeParameterDeclarationExpression

GetBodyAsString() 보호된 메소드

protected GetBodyAsString ( IMethod method ) : System.CodeDom.CodeExpression
method IMethod
리턴 System.CodeDom.CodeExpression

GetClassName() 보호된 추상적인 메소드

protected abstract GetClassName ( ) : string
리턴 string

ResourceCallAddBodyDeclaration() 보호된 메소드

protected ResourceCallAddBodyDeclaration ( IMethod method, CodeMemberMethod member, CodeTypeReference bodyType, bool addBodyIfUnused ) : void
method IMethod
member System.CodeDom.CodeMemberMethod
bodyType System.CodeDom.CodeTypeReference
addBodyIfUnused bool
리턴 void