Class ContentDataInterceptor
The ModelTypeInterceptor class implements Content
Inheritance
Implements
Namespace: EPiServer.DataAbstraction.RuntimeModel
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
public class ContentDataInterceptor : Object, IInterceptor
Remarks
When used with model types this class is scoped singleton per model type for performance reasons
Constructors
ContentDataInterceptor()
Initializes a new instance of the Content
Declaration
public ContentDataInterceptor()
ContentDataInterceptor(ContentDataInterceptorHandler)
Initializes a new instance of the Content
Declaration
public ContentDataInterceptor(ContentDataInterceptorHandler contentDataInterceptorHandler)
Parameters
Type | Name | Description |
---|---|---|
Content |
contentDataInterceptorHandler | The content data interceptor handler. |
Methods
HandleGetterAccessor(IInvocation, PropertyData)
Handles the getter accessor.
Declaration
protected virtual void HandleGetterAccessor(IInvocation invocation, PropertyData propertyData)
Parameters
Type | Name | Description |
---|---|---|
Castle. |
invocation | The invocation. |
Property |
propertyData | The property data. |
HandleSetterAccessor(IInvocation, PropertyData)
Handles the setter accessor.
Declaration
protected virtual void HandleSetterAccessor(IInvocation invocation, PropertyData propertyData)
Parameters
Type | Name | Description |
---|---|---|
Castle. |
invocation | The invocation. |
Property |
propertyData | The property data. |
Intercept(IInvocation)
Intercepts the specified invocation.
Declaration
public virtual void Intercept(IInvocation invocation)
Parameters
Type | Name | Description |
---|---|---|
Castle. |
invocation | The invocation. |