public async Task OnClosedAsync(DataContextEventData eventData) { await Apply(async() => { foreach (var interceptor in Interceptors) { await interceptor.OnClosedAsync(eventData).ConfigureAwait(Common.Configuration.ContinueOnCapturedContext); } }).ConfigureAwait(Common.Configuration.ContinueOnCapturedContext); }
public void OnClosed(DataContextEventData eventData) { Apply(() => { foreach (var interceptor in Interceptors) { interceptor.OnClosed(eventData); } }); }
public virtual void OnClosed(DataContextEventData eventData) { }
public virtual Task OnClosingAsync(DataContextEventData eventData) => TaskEx.CompletedTask;