8using System.Collections.Generic;
17 private readonly IReadOnlyList<IInterceptDataPortal> _interceptors;
25 _interceptors =
new List<IInterceptDataPortal>(interceptors);
47 for (
int interceptorIndex = _interceptors.Count - 1; interceptorIndex > -1; interceptorIndex--)
Arguments parameter passed to the interceptor methods.
Manage dataportal interception using DI-registered implementations
InterceptorManager(IEnumerable< IInterceptDataPortal > interceptors)
Creation of the manager, including all interceptors registered with the DI container
void Initialize(InterceptArgs e)
Cascade the initial interception request prior to the main DataPortal operation
void Complete(InterceptArgs e)
Cascade the final interception request after the main DataPortal operation has completed
Implement this interface to create a data portal interceptor that is notified each time the data port...
void Complete(InterceptArgs e)
Invoked at the end of each server-side data portal invocation for success and exception scenarios.
void Initialize(InterceptArgs e)
Invoked at the start of each server-side data portal invocation, immediately after the context has be...