Beispiel #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);
        }
Beispiel #2
0
 public PageActivator(IServiceLocator services, PageActivationRuleCache ruleCache)
 {
     _services  = services;
     _ruleCache = ruleCache;
 }
Beispiel #3
0
 public PageActivator(IServiceLocator services, PageActivationRuleCache ruleCache)
 {
     _services = services;
     _ruleCache = ruleCache;
 }