PolicyInjector Class

A non-static facade class that provides the main entry point into the Policy Injection Application Block. Methods on this class create intercepted objects, or wrap existing instances with interceptors.

Namespace: Microsoft.Practices.EnterpriseLibrary.PolicyInjection
Assembly: Microsoft.Practices.EnterpriseLibrary.PolicyInjection (in Microsoft.Practices.EnterpriseLibrary.PolicyInjection.dll) Version: 6.0.0.0 (6.0.1304.0)

public class PolicyInjector : IDisposable

This facade can be initialized with either an IServiceLocator or an IConfigurationSource. In the latter case, a new container will be created and it will be disposed when the policy injector is disposed.

System.Object
  Microsoft.Practices.EnterpriseLibrary.PolicyInjection.PolicyInjector
Show: