public void SubscriptionEventError(SubscriptionEventContext context, Exception exception) { for (var i = 0; i < _listeners.Length; i++) { _listeners[i].SubscriptionEventError(context, exception); } }
public void SubscriptionEventResult(SubscriptionEventContext context, IQueryResult result) { for (var i = 0; i < _listeners.Length; i++) { _listeners[i].SubscriptionEventResult(context, result); } }
public IDisposable OnSubscriptionEvent(SubscriptionEventContext context) { var scopes = new IDisposable[_listeners.Length]; for (var i = 0; i < _listeners.Length; i++) { scopes[i] = _listeners[i].OnSubscriptionEvent(context); } return(new AggregateActivityScope(scopes)); }
public void SubscriptionEventError(SubscriptionEventContext context, Exception exception) { }
public void SubscriptionEventResult(SubscriptionEventContext context, IQueryResult result) { }
public IDisposable OnSubscriptionEvent(SubscriptionEventContext context) => this;
/// <inheritdoc /> public virtual IActivityScope OnSubscriptionEvent( SubscriptionEventContext context) => EmptyScope;
/// <inheritdoc /> public virtual IDisposable OnSubscriptionEvent( SubscriptionEventContext context) => EmptyScope;
public IActivityScope OnSubscriptionEvent(SubscriptionEventContext context) => this;