public void AdicionarConfiguracaoDeIntercepcao(string nomePolitica, Type tipoAtributo, ICallHandler instanciaHandler) { UnityContainerExtensions.Configure <Interception>(this._container).AddPolicy(nomePolitica).AddMatchingRule(new CustomAttributeMatchingRule(tipoAtributo, false)).AddCallHandler(instanciaHandler); }
private DependencyResolver() { UnityContainerExtensions.AddNewExtension <Interception>(this._container); UnityContainerExtensions.Configure <Interception>(this._container); }