Exemplo n.º 1
0
 public void ExecuteScenario(ExecuteScenarioArgs args)
 {
     _serviceClient.BeginAsyncExecuteScenario(new Encrypted <string>(args.Id, _credentials.Value.SecretKey), new Encrypted <string>(args.Value, _credentials.Value.SecretKey),
                                              (result) => {
         HandleExceptions(() => _serviceClient.EndAsyncExecuteScenario(result));
     },
                                              null);
 }
 public void ExecuteScenario(ExecuteScenarioArgs args)
 {
     Utils.SendData(args, _toServiceMessenger, _messenger, ServiceOperation.ExecuteScenario);
 }