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