Executes the given command asynchronousely and returns an awaitable task containing the expected result.
Namespace: CkSoftware.GroupMe.Sdk.CoreAssembly: CkSoftware.GroupMe.Sdk.Core (in CkSoftware.GroupMe.Sdk.Core.dll) Version: 1.0.1.35397 (1.0.1.0)
Task<TResultEntity> ExecuteCommand<TResultEntity>(
IWebApiCommand<TResultEntity> command
)
where TResultEntity : new(), IWebApiResult
Task<TResultEntity> ExecuteCommand<TResultEntity>(
IWebApiCommand<TResultEntity> command
)
where TResultEntity : new(), IWebApiResult
Function ExecuteCommand(Of TResultEntity As {New, IWebApiResult}) (
command As IWebApiCommand(Of TResultEntity)
) As Task(Of TResultEntity)
Function ExecuteCommand(Of TResultEntity As {New, IWebApiResult}) (
command As IWebApiCommand(Of TResultEntity)
) As Task(Of TResultEntity)
abstract ExecuteCommand :
command : IWebApiCommand<'TResultEntity> -> Task<'TResultEntity> when 'TResultEntity : new() and IWebApiResult
abstract ExecuteCommand :
command : IWebApiCommand<'TResultEntity> -> Task<'TResultEntity> when 'TResultEntity : new() and IWebApiResult
- TResultEntity
- Result entity which will be deserialized from the WebApi / REST service.
Return Value
Type:
Task TResultEntity Awaitable task returning the given result entity.