Index > ExpressionPowerTools.Core > ExpressionPowerTools.Core.Providers > QueryInterceptingProvider > RegisterInterceptor
Registers the transformation to apply.
| Overload | Description |
|---|---|
| RegisterInterceptor(ExpressionTransformer transformation) | Registers the transformation to apply. |
Registers the transformation to apply.
public virtual Void RegisterInterceptor(ExpressionTransformer transformation)| Parameter | Type | Description |
|---|---|---|
transformation |
ExpressionTransformer | A method that transforms an Expression . |
| Exception | Description |
|---|---|
| ArgumentNullException | Thrown when transformation is null. |
| InvalidOperationException | Thrown when interceptor already registered. |
| Generated | Copyright | Version |
|---|---|---|
| 02/22/2021 21:59:57 | (c) Copyright 2020 Jeremy Likness. | 0.9.7-beta |