C# 클래스 ServiceClientGenerator.GeneratorHelpers

파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
CamelCaseParam ( string param ) : string

Sets the first character of the param to lower, if it's an acronym it lowers it all until the next word

ConvertToUnixEpochMilliSeconds ( System.DateTime dateTime ) : double
ConvertToUnixEpochSeconds ( System.DateTime dateTime ) : int
DetermineAWSQueryBaseUnmarshallName ( Member member ) : string
DetermineAWSQueryListMemberPrefix ( Member member ) : string
DetermineAWSQueryListMemberSuffix ( Operation operation, Member member ) : string

Inspects list member to determine if the original list shape in the model has been substituted and if so, whether a member suffix should be used to extract the value for use in the query. An example usage would be the replacement of IpRange (in EC2) within an IpRangeList - we treat as a list of strings, yet need to get to the IpRange.CidrIp member in the query marshalling. Note that we also have some EC2 operations where we don't want this submember extraction too even though the same substitite is in use.

DetermineAWSQueryMarshallName ( Member member, Operation operation ) : string
DetermineAWSQueryTestExpression ( Member member ) : string
DetermineSigner ( string signatureVersion, string serviceBasename ) : string
HasSuppressedResult ( Operation operation ) : bool

Returns true if the specified operation has been tagged as requiring the usual 'Result' class suppressed (due to a void return type)

TransformMarshallLocationName ( bool isEC2Protocol, string locationName ) : string
TransformUnmarshallLocationName ( bool isEC2Protocol, string locationName ) : string
UseCustomMarshall ( Member member, Operation operation ) : bool

Determines if a property modifier for the member is suppressing automatic marshall generation code for the field. If true, custom code in the pipeline will handle the member.

메소드 상세

CamelCaseParam() 공개 정적인 메소드

Sets the first character of the param to lower, if it's an acronym it lowers it all until the next word
public static CamelCaseParam ( string param ) : string
param string The name of the parameter name for the constructor
리턴 string

ConvertToUnixEpochMilliSeconds() 공개 정적인 메소드

public static ConvertToUnixEpochMilliSeconds ( System.DateTime dateTime ) : double
dateTime System.DateTime
리턴 double

ConvertToUnixEpochSeconds() 공개 정적인 메소드

public static ConvertToUnixEpochSeconds ( System.DateTime dateTime ) : int
dateTime System.DateTime
리턴 int

DetermineAWSQueryBaseUnmarshallName() 공개 정적인 메소드

public static DetermineAWSQueryBaseUnmarshallName ( Member member ) : string
member Member
리턴 string

DetermineAWSQueryListMemberPrefix() 공개 정적인 메소드

public static DetermineAWSQueryListMemberPrefix ( Member member ) : string
member Member
리턴 string

DetermineAWSQueryListMemberSuffix() 공개 정적인 메소드

Inspects list member to determine if the original list shape in the model has been substituted and if so, whether a member suffix should be used to extract the value for use in the query. An example usage would be the replacement of IpRange (in EC2) within an IpRangeList - we treat as a list of strings, yet need to get to the IpRange.CidrIp member in the query marshalling. Note that we also have some EC2 operations where we don't want this submember extraction too even though the same substitite is in use.
public static DetermineAWSQueryListMemberSuffix ( Operation operation, Member member ) : string
operation Operation
member Member
리턴 string

DetermineAWSQueryMarshallName() 공개 정적인 메소드

public static DetermineAWSQueryMarshallName ( Member member, Operation operation ) : string
member Member
operation Operation
리턴 string

DetermineAWSQueryTestExpression() 공개 정적인 메소드

public static DetermineAWSQueryTestExpression ( Member member ) : string
member Member
리턴 string

DetermineSigner() 공개 정적인 메소드

public static DetermineSigner ( string signatureVersion, string serviceBasename ) : string
signatureVersion string
serviceBasename string
리턴 string

HasSuppressedResult() 공개 정적인 메소드

Returns true if the specified operation has been tagged as requiring the usual 'Result' class suppressed (due to a void return type)
public static HasSuppressedResult ( Operation operation ) : bool
operation Operation
리턴 bool

TransformMarshallLocationName() 공개 정적인 메소드

public static TransformMarshallLocationName ( bool isEC2Protocol, string locationName ) : string
isEC2Protocol bool
locationName string
리턴 string

TransformUnmarshallLocationName() 공개 정적인 메소드

public static TransformUnmarshallLocationName ( bool isEC2Protocol, string locationName ) : string
isEC2Protocol bool
locationName string
리턴 string

UseCustomMarshall() 공개 정적인 메소드

Determines if a property modifier for the member is suppressing automatic marshall generation code for the field. If true, custom code in the pipeline will handle the member.
public static UseCustomMarshall ( Member member, Operation operation ) : bool
member Member
operation Operation
리턴 bool