C# Class OverflowStack.GenericData.Client.DataClient

显示文件 Open project: unruledboy/GenericData Class Usage Examples

Public Methods

Method Description
BuildPayload ( string schemaId, List objects ) : Payload
BuildRequest ( Payload payload, string tag, string token, string userId ) : Request
DataClient ( Uri uri, string configFile ) : System
Pulse ( ) : Task
Send ( Request request ) : Task

Method Details

BuildPayload() public method

public BuildPayload ( string schemaId, List objects ) : Payload
schemaId string
objects List
return OverflowStack.GenericData.SharedDomains.Models.Payload

BuildRequest() public method

public BuildRequest ( Payload payload, string tag, string token, string userId ) : Request
payload OverflowStack.GenericData.SharedDomains.Models.Payload
tag string
token string
userId string
return OverflowStack.GenericData.SharedDomains.Models.Request

DataClient() public method

public DataClient ( Uri uri, string configFile ) : System
uri System.Uri
configFile string
return System

Pulse() public method

public Pulse ( ) : Task
return Task

Send() public method

public Send ( Request request ) : Task
request OverflowStack.GenericData.SharedDomains.Models.Request
return Task