Esempio n. 1
0
        public void SetUp()
        {
            _theRuleCache = new PageActivationRuleCache(new IPageActivationSource[0]);
            theServices = MockRepository.GenerateMock<IServiceLocator>();

            theRequest = new InMemoryFubuRequest();
            theServices.Stub(x => x.GetInstance<IFubuRequest>()).Return(theRequest);

            theActivator = new PageActivator(theServices, _theRuleCache);
        }
Esempio n. 2
0
 public PageActivator(IServiceLocator services, PageActivationRuleCache ruleCache)
 {
     _services  = services;
     _ruleCache = ruleCache;
 }
Esempio n. 3
0
 public PageActivator(IServiceLocator services, PageActivationRuleCache ruleCache)
 {
     _services = services;
     _ruleCache = ruleCache;
 }