C# 클래스 ServiceClientGenerator.ServiceModel

The service model represents the information of a service found through the manifest, model, and customization file. It is used to get any information necessary to generate the clients, operations, and structures of a service.
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
AvailableInWWW ( Operation operation ) : bool

returns if an operation is supported by the unity API or not.

Enumerations ( bool includeParentEnums ) : IEnumerable

Returns list of enums defined in the service model.

FindOperation ( string name ) : Operation

Gets the operation information based on the name of the operation

FindShape ( string name ) : Shape

Search the model for shape.

InitializeServiceModel ( TextReader reader ) : void

Sets the base json info no matter how the model was constructed

ServiceModel ( TextReader serviceModelReader, TextReader customizationReader ) : System

Used for unit testing, creates a service model from a TextReader so that the generation can be checked

ServiceModel ( string serviceModelPath, string customizationModelPath ) : System

Used by the generator to create a model for the service being generated

ToString ( ) : string

The service model represented as a string

비공개 메소드들

메소드 설명
CapitalizeFirstChar ( string text ) : string

Capitalizes the first character of a string, used to create proper naming for services, attributes, and operations

메소드 상세

AvailableInWWW() 공개 메소드

returns if an operation is supported by the unity API or not.
public AvailableInWWW ( Operation operation ) : bool
operation Operation
리턴 bool

Enumerations() 공개 메소드

Returns list of enums defined in the service model.
public Enumerations ( bool includeParentEnums ) : IEnumerable
includeParentEnums bool Includes enums from current service model, which are also /// defined in the parent model.
리턴 IEnumerable

FindOperation() 공개 메소드

Gets the operation information based on the name of the operation
public FindOperation ( string name ) : Operation
name string The name of the operation that information is needed for
리턴 Operation

FindShape() 공개 메소드

Search the model for shape.
public FindShape ( string name ) : Shape
name string The name of the shape to search for
리턴 Shape

InitializeServiceModel() 공개 메소드

Sets the base json info no matter how the model was constructed
public InitializeServiceModel ( TextReader reader ) : void
reader TextReader The reader to pull the model json from
리턴 void

ServiceModel() 공개 메소드

Used for unit testing, creates a service model from a TextReader so that the generation can be checked
public ServiceModel ( TextReader serviceModelReader, TextReader customizationReader ) : System
serviceModelReader TextReader The reader to get the model information from
customizationReader TextReader The reader to get any customizations for the service from
리턴 System

ServiceModel() 공개 메소드

Used by the generator to create a model for the service being generated
public ServiceModel ( string serviceModelPath, string customizationModelPath ) : System
serviceModelPath string Path to the file containing the model of the service
customizationModelPath string Path to the customizations file for the service
리턴 System

ToString() 공개 메소드

The service model represented as a string
public ToString ( ) : string
리턴 string