public NavigationService(IMenuResolver navigation, IChainUrlResolver urlResolver, IMenuStateService stateService, IAssetTagBuilder urls) { _navigation = navigation; _urlResolver = urlResolver; _stateService = stateService; _urls = urls; }
public NavigationService(BehaviorGraph graph, IChainUrlResolver urlResolver, IMenuStateService stateService, IAssetUrls urls) { _urlResolver = urlResolver; _stateService = stateService; _urls = urls; _navigation = graph.Settings.Get<NavigationGraph>(); }
public UrlRegistry(IChainResolver resolver, IChainUrlResolver urlResolver, IUrlTemplatePattern templatePattern, IHttpRequest httpRequest) : base(resolver) { _urlResolver = urlResolver; _httpRequest = httpRequest; _templateFunc = (s) => { return(s.Replace("{", templatePattern.Start).Replace("}", templatePattern.End)); }; }
public NavigationService(IMenuResolver navigation, IChainUrlResolver urlResolver, IMenuStateService stateService, IAssetTagBuilder urls) { _navigation = navigation; _urlResolver = urlResolver; _stateService = stateService; _urls = urls; }
public NavigationService(BehaviorGraph graph, IChainUrlResolver urlResolver, IMenuStateService stateService, IAssetUrls urls) { _urlResolver = urlResolver; _stateService = stateService; _urls = urls; _navigation = graph.Settings.Get <NavigationGraph>(); }
public void SetUp() { theServices = new InMemoryServiceLocator(); theSearch = ChainSearch.ByUniqueInputType(typeof(object)); theInput = new object(); theResolver = MockRepository.GenerateStub <IChainResolver>(); theUrlResolver = MockRepository.GenerateStub <IChainUrlResolver>(); theChain = new RoutedChain("something"); theServices.Add(theResolver); theServices.Add(theUrlResolver); theRequest = new FormRequest(theSearch, theInput); }
public void SetUp() { theServices = new InMemoryServiceLocator(); theSearch = ChainSearch.ByUniqueInputType(typeof (object)); theInput = new object(); theResolver = MockRepository.GenerateStub<IChainResolver>(); theUrlResolver = MockRepository.GenerateStub<IChainUrlResolver>(); theChain = new BehaviorChain(); theServices.Add(theResolver); theServices.Add(theUrlResolver); theRequest = new FormRequest(theSearch, theInput); }
public EndpointService(IChainAuthorizor authorizor, IChainResolver resolver, IChainUrlResolver urlResolver) : base(resolver) { _authorizor = authorizor; _urlResolver = urlResolver; }
public UrlRegistry(IChainResolver resolver, IChainUrlResolver urlResolver, IHttpRequest httpRequest) : base(resolver) { _urlResolver = urlResolver; _httpRequest = httpRequest; }