C# Class Transhipment.SchemaFactory

Afficher le fichier Open project: AndreiMarukovich/Transhipment

Méthodes publiques

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

Méthode Description
GetStructuredDataInternal ( DataPackageView dataPackage, string formatId ) : Task
Parse ( JsonObject json ) : IThing

Method Details

Create() public static méthode

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

GetStructuredDataAsync() public static méthode

public static GetStructuredDataAsync ( this dataPackage, string formatId ) : IAsyncOperation
dataPackage this
formatId string
Résultat IAsyncOperation

Parse() public static méthode

public static Parse ( string data ) : IThing
data string
Résultat IThing

SetStructuredData() public static méthode

public static SetStructuredData ( this dataPackage, IThing thing ) : void
dataPackage this
thing IThing
Résultat void