protected void Execute() => OnNotify?.Invoke();
Esempio n. 2
0
 public void Notify(PutNotifyEvent arg)
 {
     OnNotify?.Invoke(this, arg);
 }
Esempio n. 3
0
 public void Notify(Notification notification)
 {
     OnNotify?.Invoke(this, notification);
 }
Esempio n. 4
0
 public void NotifyError(string grainId, Exception error)
 {
     OnNotify?.Invoke(this, new ErrorNotificationEventArgs(grainId, error));
 }
Esempio n. 5
0
 public void NotifyMetrics(CommunicationMetrics metrics)
 {
     OnNotify?.Invoke(this, new MetricNotificationEventArgs(metrics));
 }
Esempio n. 6
0
 public void FireOnNotify(GenaNotifyResponse response)
 {
     LastOnNotify = response;
     OnNotify?.Invoke(this, response);
 }
Esempio n. 7
0
 protected void StateChanged() => OnNotify?.Invoke(this, null);
Esempio n. 8
0
 public void Notify(EventMessage message)
 {
     OnNotify?.Invoke(this, new MessageNotificationArgs(message));
 }
Esempio n. 9
0
 public Task Notify()
 {
     return(OnNotify.InvokeAsync(this, this));
 }
Esempio n. 10
0
 private void Observer_OnNotify(object sender, MetricNotificationEventArgs e)
 {
     OnNotify?.Invoke(this, new NotificationEventArgs(e.Metrics));
 }
Esempio n. 11
0
 public override void Update(Uri resourceUri, string contentType, byte[] message)
 {
     OnNotify?.Invoke(this, new ObserverEventArgs(resourceUri, contentType, message));
 }
Esempio n. 12
0
 public void Notify() => OnNotify?.Invoke();