Table of Contents

Class CommSimpleAsyncCommand<TResult>

Namespace
PalmSens.Core.Simplified
Assembly
PalmSens.Core.Simplified.dll
public class CommSimpleAsyncCommand<TResult> : ICommSimpleCommandAsync<TResult>

Type Parameters

TResult
Inheritance
CommSimpleAsyncCommand<TResult>
Implements
Inherited Members

Constructors

CommSimpleAsyncCommand(ClientConnection, Func<ClientConnection, Task<TResult>>)

public CommSimpleAsyncCommand(ClientConnection connection, Func<ClientConnection, Task<TResult>> funcToRun)

Parameters

connection ClientConnection
funcToRun Func<ClientConnection, Task<TResult>>

Methods

ExecuteAsync()

public Task<TResult> ExecuteAsync()

Returns

Task<TResult>