Пример #1
0
 protected void RaiseAcceptorPaymentSpent(ClientSwap swap)
 {
     AcceptorPaymentSpent?.Invoke(this, new SwapEventArgs(swap));
 }
Пример #2
0
 protected Task RaiseAcceptorPaymentSpent(
     Swap swap,
     CancellationToken cancellationToken = default) =>
 AcceptorPaymentSpent?.Invoke(this, new SwapEventArgs(swap), cancellationToken);