Exemplo n.º 1
0
 public SetDefaultMvcDependencyResolver(IDependencyResolver dependencyResolver, IEventAggregator eventAggregator)
 {
     if (!Disabled)
     {
         global::BoC.Web.Mvc.Init.SetDefaultMvcDependencyResolver.Disabled = true;
         _dependencyResolver = new SitecoreSpecificResolver(dependencyResolver, eventAggregator);
     }
 }
Exemplo n.º 2
0
 public SetDefaultMvcDependencyResolver(IDependencyResolver dependencyResolver, IEventAggregator eventAggregator)
 {
     if (!Disabled)
     {
         global::BoC.Web.Mvc.Init.SetDefaultMvcDependencyResolver.Disabled = true;
         _dependencyResolver = new SitecoreSpecificResolver(dependencyResolver, eventAggregator);
     }
 }