Interception Behavior Pipeline
You must add behaviors to the behavior pipeline to use them. The pipeline maintains a list of interception behaviors and manages them, calling them in the proper order with the correct inputs.
The following example adds a behavior and interceptor to a new interception behaviors pipeline.
First create an interception behaviors pipeline.
private InterceptionBehaviorPipeline pipeline = new InterceptionBehaviorPipeline();
'Usage
Private pipeline As New InterceptionBehaviorPipeline()
Then add an interception behavior to the pipeline.
pipeline.Add(interceptor);
'Usage
pipeline.Add(interceptor)