C# Class Transhipment.SchemaFactory

Mostra file Open project: AndreiMarukovich/Transhipment

Public Methods

Method Description
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

Private Methods

Method Description
GetStructuredDataInternal ( DataPackageView dataPackage, string formatId ) : Task
Parse ( JsonObject json ) : IThing

Method Details

Create() public static method

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

GetStructuredDataAsync() public static method

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

Parse() public static method

public static Parse ( string data ) : IThing
data string
return IThing

SetStructuredData() public static method

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