コード例 #1
0
 public void SendExchangeContract(ExchangeContract data)
 {
     try
     {
         ImplementationService.Callback?.SendExchangeContract(data);
     }
     catch (Exception ex)
     {
         MessageBox.Show("Посылка не удалась "
                         + Environment.NewLine
                         + ex.ToString());
     }
 }
コード例 #2
0
 public void SendExchangeContract(ExchangeContract data) => ImplementationService.IncomingExchangeContract?.Invoke(data);
コード例 #3
0
 public void SendExchangeContract(ExchangeContract data) => ImplementationCallback.IncomingExchangeContract?.Invoke(data);
コード例 #4
0
 public void SendExchangeContract(ExchangeContract data)
 {
     Service?.SendExchangeContract(data);
 }