C# Класс ServiceClientGenerator.Member

Members are properties are parts of a shape, they are used to identify sub shapes that the parent shape owns
Наследование: BaseModel
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DetermineType string
GetTypeUnmarshallerName string

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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.

Описание методов

DetermineType() публичный Метод

Used to get the proper type of the member so that it can be used in the generator for proper code
public DetermineType ( ) : string
Результат string

DetermineTypeUnmarshallerInstantiate() публичный Метод

Determines the type of the unmarshaller for the member
public DetermineTypeUnmarshallerInstantiate ( ) : string
Результат string

DetermineTypeUnmarshallerInstantiate() публичный Метод

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
Результат string

GetParamDocumentationForConstructor() публичный Метод

public GetParamDocumentationForConstructor ( string className ) : string
className string
Результат string

GetParamDocumentationForOperation() публичный Метод

public GetParamDocumentationForOperation ( string operationName ) : string
operationName string
Результат string

GetPrimitiveType() публичный Метод

public GetPrimitiveType ( ) : string
Результат string

GetSerializationInfoMethodName() публичный Метод

public GetSerializationInfoMethodName ( ) : string
Результат string

Member() публичный Метод

public Member ( ServiceModel model, Shape owningShape, string name, string defaultMarshallName, CustomizationsModel propertyInjector ) : System.Reflection
model ServiceModel
owningShape Shape
name string
defaultMarshallName string
propertyInjector CustomizationsModel
Результат System.Reflection

Member() публичный Метод

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
Результат System.Reflection

ToString() публичный Метод

Creates a representation of the member as a string using the member name
public ToString ( ) : string
Результат string