Documentation

Mistake on this page? Email us
Public Member Functions | Properties | List of all members
MbedCloudSDK.Connect.Model.ConnectedDevice.AsyncConsumer< T > Class Template Reference

Async consumer. More...

Public Member Functions

 AsyncConsumer (string asyncId, AsyncCollection< T > collection)
 Initializes a new instance of the AsyncConsumer<T> class. More...
 
async Task< T > GetValueAsync ()
 Gets the value. More...
 
override string ToString ()
 Gets the string representation of the AsyncConsumer. More...
 

Properties

string AsyncId [get]
 Gets the AsyncId More...
 
AsyncCollection< T > Collection [get]
 Gets the AsyncProducerConsumerCollection More...
 

Detailed Description

Async consumer.

Template Parameters
TType of Async Consumer

Constructor & Destructor Documentation

MbedCloudSDK.Connect.Model.ConnectedDevice.AsyncConsumer< T >.AsyncConsumer ( string  asyncId,
AsyncCollection< T >  collection 
)
inline

Initializes a new instance of the AsyncConsumer<T> class.

Parameters
asyncIdAsyncId
collectionCollection.

Member Function Documentation

async Task<T> MbedCloudSDK.Connect.Model.ConnectedDevice.AsyncConsumer< T >.GetValueAsync ( )
inline

Gets the value.

Returns
The value.
override string MbedCloudSDK.Connect.Model.ConnectedDevice.AsyncConsumer< T >.ToString ( )
inline

Gets the string representation of the AsyncConsumer.

Returns
The AsyncId.

Property Documentation

Gets the AsyncId

Returns
The Async Id
AsyncCollection<T> MbedCloudSDK.Connect.Model.ConnectedDevice.AsyncConsumer< T >.Collection
get

Gets the AsyncProducerConsumerCollection

Returns
The AsyncProducerConsumercollection

The documentation for this class was generated from the following file: