Пример #1
0
 public void HandleError(object sender, string message)
 {
     PushError?.Invoke(this, message);
 }
Пример #2
0
 public PushFailure(int userId, PushSubscription sub, PushError error)
 {
     UserId = userId;
     Sub    = sub ?? throw new ArgumentNullException(nameof(sub));
     Error  = error;
 }