src/Shared/EntityFramework/Infrastructure/Interception/DbInterception.cs
/// <summary>
/// Registers a new <see cref="IDbInterceptor" /> to receive notifications. Note that the interceptor
/// must implement some interface that extends from <see cref="IDbInterceptor" /> to be useful.
/// </summary>
/// <param name="interceptor">The interceptor to add.</param>
Registers a new  to receive notifications. Note that the interceptor
must implement some interface that extends from  to be useful.
Registers a new to receive notifications . Note that the interceptor must implement some interface that extends from to be useful .
public static void Add(IDbInterceptor interceptor)
        {
            Check.NotNull(interceptor, "interceptor");
            _dispatchers.Value.AddInterceptor(interceptor);
        }
public static void Add ( IDbInterceptor interceptor ) { Check . NotNull ( interceptor , " " ) ; _dispatchers . Value . AddInterceptor ( interceptor ) ; }
Registers a new  to receive notifications.
Registers a new to receive notifications .
interceptor
IDbInterceptor
The interceptor to add.
The interceptor to add .