Click or drag to resize

RegistrationExtensions Class

Adds registration syntax to the ContainerBuilder type.
Inheritance Hierarchy
SystemObject
  Autofac.Extras.DynamicProxyRegistrationExtensions

Namespace:  Autofac.Extras.DynamicProxy
Assembly:  Autofac.Extras.DynamicProxy (in Autofac.Extras.DynamicProxy.dll) Version: 6.0.0+d14b34a0bec59c4984cd6167bf2f3e37fb6e1002
Syntax
public static class RegistrationExtensions

The RegistrationExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberEnableClassInterceptorsTLimit, TRegistrationStyle(IRegistrationBuilderTLimit, ScanningActivatorData, TRegistrationStyle)
Enable class interception on the target type. Interceptors will be determined via Intercept attributes on the class or added with InterceptedBy(). Only virtual methods can be intercepted this way.
Public methodStatic memberEnableClassInterceptorsTLimit, TRegistrationStyle(IRegistrationBuilderTLimit, ScanningActivatorData, TRegistrationStyle, ProxyGenerationOptions, Type)
Enable class interception on the target type. Interceptors will be determined via Intercept attributes on the class or added with InterceptedBy(). Only virtual methods can be intercepted this way.
Public methodStatic memberEnableClassInterceptorsTLimit, TConcreteReflectionActivatorData, TRegistrationStyle(IRegistrationBuilderTLimit, TConcreteReflectionActivatorData, TRegistrationStyle)
Enable class interception on the target type. Interceptors will be determined via Intercept attributes on the class or added with InterceptedBy(). Only virtual methods can be intercepted this way.
Public methodStatic memberEnableClassInterceptorsTLimit, TConcreteReflectionActivatorData, TRegistrationStyle(IRegistrationBuilderTLimit, TConcreteReflectionActivatorData, TRegistrationStyle, ProxyGenerationOptions, Type)
Enable class interception on the target type. Interceptors will be determined via Intercept attributes on the class or added with InterceptedBy(). Only virtual methods can be intercepted this way.
Public methodStatic memberEnableInterfaceInterceptorsTLimit, TActivatorData, TSingleRegistrationStyle
Enable interface interception on the target type. Interceptors will be determined via Intercept attributes on the class or interface, or added with InterceptedBy() calls.
Public methodStatic memberInterceptedByTLimit, TActivatorData, TStyle(IRegistrationBuilderTLimit, TActivatorData, TStyle, Service)
Allows a list of interceptor services to be assigned to the registration.
Public methodStatic memberInterceptedByTLimit, TActivatorData, TStyle(IRegistrationBuilderTLimit, TActivatorData, TStyle, String)
Allows a list of interceptor services to be assigned to the registration.
Public methodStatic memberInterceptedByTLimit, TActivatorData, TStyle(IRegistrationBuilderTLimit, TActivatorData, TStyle, Type)
Allows a list of interceptor services to be assigned to the registration.
Top
See Also