示例#1
0
 /// <summary>
 /// Execute a delayed command asynchronously with the specified command return type.
 /// </summary>
 /// <param name="commandService"></param>
 /// <param name="command"></param>
 /// <param name="commandReturnType"></param>
 /// <returns></returns>
 public static Task ExecuteDelayedCommandAsync(this ICommandService commandService, DelayedCommand command, CommandReturnType commandReturnType)
 {
     return(commandService.ExecuteAsync(command, commandReturnType));
 }
示例#2
0
 /// <summary>
 /// Send a delayed command asynchronously.
 /// </summary>
 /// <param name="commandService"></param>
 /// <param name="command"></param>
 /// <returns></returns>
 public static Task SendDelayedCommandAsync(this ICommandService commandService, DelayedCommand command)
 {
     return(commandService.SendAsync(command));
 }