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
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Private Properties

Свойство Type Description
DetermineType string
GetTypeUnmarshallerName string

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

DetermineTypeUnmarshallerInstantiate() public méthode

Determines the type of the unmarshaller for the member
public DetermineTypeUnmarshallerInstantiate ( ) : string
Résultat string

DetermineTypeUnmarshallerInstantiate() public méthode

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
Résultat string

GetParamDocumentationForConstructor() public méthode

public GetParamDocumentationForConstructor ( string className ) : string
className string
Résultat string

GetParamDocumentationForOperation() public méthode

public GetParamDocumentationForOperation ( string operationName ) : string
operationName string
Résultat string

GetPrimitiveType() public méthode

public GetPrimitiveType ( ) : string
Résultat string

GetSerializationInfoMethodName() public méthode

public GetSerializationInfoMethodName ( ) : string
Résultat string

Member() public méthode

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

Member() public méthode

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
Résultat System.Reflection

ToString() public méthode

Creates a representation of the member as a string using the member name
public ToString ( ) : string
Résultat string