InterceptorAggregator<TInterceptor> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Abstract base class for implementations of the IInterceptorAggregator service.
public abstract class InterceptorAggregator<TInterceptor> : Microsoft.EntityFrameworkCore.Diagnostics.IInterceptorAggregator where TInterceptor : class, IInterceptor
type InterceptorAggregator<'Interceptor (requires 'Interceptor : null and 'Interceptor :> IInterceptor)> = class
interface IInterceptorAggregator
Public MustInherit Class InterceptorAggregator(Of TInterceptor)
Implements IInterceptorAggregator
- TInterceptor
The interceptor type.
- Inheritance
-
InterceptorAggregator<TInterceptor>
- Implements
The service lifetime is Scoped and multiple registrations are allowed. This means that each DbContext instance will use its own set of instances of this service. The implementations may depend on other services registered with any lifetime. The implementations do not need to be thread-safe.
See EF Core interceptors for more information and examples.
Interceptor |
The interceptor type. |
Aggregate |
Resolves a single IInterceptor /> from all those registered on the DbContext or in the internal service provider. |
Create |
Must be implemented by the inheriting type to create a single interceptor from the given list. |
Product | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: