C# 클래스 Transhipment.SchemaFactory

파일 보기 프로젝트 열기: AndreiMarukovich/Transhipment

공개 메소드들

메소드 설명
Create ( string schema ) : IThing

Creates object, a concrete implementation of the provided schema.

GetStructuredDataAsync ( this dataPackage, string formatId ) : IAsyncOperation
Parse ( string data ) : IThing
SetStructuredData ( this dataPackage, IThing thing ) : void

비공개 메소드들

메소드 설명
GetStructuredDataInternal ( DataPackageView dataPackage, string formatId ) : Task
Parse ( JsonObject json ) : IThing

메소드 상세

Create() 공개 정적인 메소드

Creates object, a concrete implementation of the provided schema.
public static Create ( string schema ) : IThing
schema string Use Schema class members
리턴 IThing

GetStructuredDataAsync() 공개 정적인 메소드

public static GetStructuredDataAsync ( this dataPackage, string formatId ) : IAsyncOperation
dataPackage this
formatId string
리턴 IAsyncOperation

Parse() 공개 정적인 메소드

public static Parse ( string data ) : IThing
data string
리턴 IThing

SetStructuredData() 공개 정적인 메소드

public static SetStructuredData ( this dataPackage, IThing thing ) : void
dataPackage this
thing IThing
리턴 void