C# Class ServiceClientGenerator.Member

Members are properties are parts of a shape, they are used to identify sub shapes that the parent shape owns
Inheritance: BaseModel
ファイルを表示 Open project: aws/aws-sdk-net Class Usage Examples

Private Properties

Property Type Description
DetermineType string
GetTypeUnmarshallerName string

Public Methods

Method Description
DetermineType ( ) : string

Used to get the proper type of the member so that it can be used in the generator for proper code

DetermineTypeUnmarshallerInstantiate ( ) : string

Determines the type of the unmarshaller for the member

DetermineTypeUnmarshallerInstantiate ( JsonData extendedData ) : string

This returns the code that instantiates an unmarshaller. It will be called recursively for maps and lists to handle the generic declarations.

GetParamDocumentationForConstructor ( string className ) : string
GetParamDocumentationForOperation ( string operationName ) : string
GetPrimitiveType ( ) : string
GetSerializationInfoMethodName ( ) : string
Member ( ServiceModel model, Shape owningShape, string name, string defaultMarshallName, CustomizationsModel propertyInjector ) : System.Reflection
Member ( ServiceModel model, Shape owningShape, string name, string defaultMarshallName, JsonData data, CustomizationsModel propertyModifier ) : System.Reflection
ToString ( ) : string

Creates a representation of the member as a string using the member name

Private Methods

Method Description
DetermineType ( JsonData extendedData, bool treatEnumsAsString ) : string

Determines the type of the member based on customizations, if it isn't custom then it pulls from the full json model to get the shape of this member

GetTypeUnmarshallerName ( JsonData extendedData ) : string

This method gets the name of an unmarshaller for a type. It is used from within DetermineTypeUnmarshallerInstantiate to get the types for the generic declarations of maps and lists.

Method Details

DetermineType() public method

Used to get the proper type of the member so that it can be used in the generator for proper code
public DetermineType ( ) : string
return string

DetermineTypeUnmarshallerInstantiate() public method

Determines the type of the unmarshaller for the member
public DetermineTypeUnmarshallerInstantiate ( ) : string
return string

DetermineTypeUnmarshallerInstantiate() public method

This returns the code that instantiates an unmarshaller. It will be called recursively for maps and lists to handle the generic declarations.
public DetermineTypeUnmarshallerInstantiate ( JsonData extendedData ) : string
extendedData JsonData
return string

GetParamDocumentationForConstructor() public method

public GetParamDocumentationForConstructor ( string className ) : string
className string
return string

GetParamDocumentationForOperation() public method

public GetParamDocumentationForOperation ( string operationName ) : string
operationName string
return string

GetPrimitiveType() public method

public GetPrimitiveType ( ) : string
return string

GetSerializationInfoMethodName() public method

public GetSerializationInfoMethodName ( ) : string
return string

Member() public method

public Member ( ServiceModel model, Shape owningShape, string name, string defaultMarshallName, CustomizationsModel propertyInjector ) : System.Reflection
model ServiceModel
owningShape Shape
name string
defaultMarshallName string
propertyInjector CustomizationsModel
return System.Reflection

Member() public method

public Member ( ServiceModel model, Shape owningShape, string name, string defaultMarshallName, JsonData data, CustomizationsModel propertyModifier ) : System.Reflection
model ServiceModel
owningShape Shape
name string
defaultMarshallName string
data JsonData
propertyModifier CustomizationsModel
return System.Reflection

ToString() public method

Creates a representation of the member as a string using the member name
public ToString ( ) : string
return string