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