Пример #1
0
 protected override Task <string[]> ExecuteCommandAsync(EmptyCommandRequest request)
 {
     return(Task.FromResult(new string[] { "value1", "value2" }));
 }
Пример #2
0
 protected override Task <EmptyCommandResult> ExecuteCommandAsync(EmptyCommandRequest request)
 {
     return(this.ExecuteAsync(this.Command <ExampleCommandWithNoRequestOrResult>()));
 }
 protected override Task <EmptyCommandResult> ExecuteCommandAsync(EmptyCommandRequest request)
 {
     return(Task.FromResult(new EmptyCommandResult()));
 }