unitycontainer / interception

Unity.Interception package
Apache License 2.0
22 stars 17 forks source link

Optimize IInterceptionBehaviorsPolicy #10

Closed ENikS closed 6 years ago

ENikS commented 6 years ago

Interface is requires IBuilderContext in order to retrieve IEnumerable<IInterceptionBehavior> but it could be changed to use IUnityContainer. This will allow to move interception analysis into registration phase and will noticeable boost performance.

The legacy way of calling this interface will be preserved via Extension method.