public MenuComponent(IRouteResolverTrie routeResolverTrie, IHttpContextAccessor httpAccessor, IDocumentStore documentStore, IBricsContextAccessor bricsContextAccessor) { _routeResolverTrie = routeResolverTrie; _httpAccessor = httpAccessor; _documentStore = documentStore; _bricsContextAccessor = bricsContextAccessor; }
/// <summary> /// Initializes a new instance of the <see cref="BrickPileControllerFactory" /> class. /// </summary> public BrickPileControllerFactory(IDocumentStore documentStore, IBrickPileContextFactory contextFactory, IRouteResolverTrie routeResolverTrie, INavigationContextFactory navigationContextFactory) { this.documentStore = documentStore; this.contextFactory = contextFactory; this.routeResolverTrie = routeResolverTrie; this.navigationContextFactory = navigationContextFactory; }
/// <summary> /// Initializes a new instance of the <see cref="BrickPileControllerFactory" /> class. /// </summary> public BrickPileControllerFactory(IDocumentStore documentStore, IBrickPileContextFactory contextFactory, IRouteResolverTrie routeResolverTrie, INavigationContextFactory navigationContextFactory) { this.documentStore = documentStore; this.contextFactory = contextFactory; this.routeResolverTrie = routeResolverTrie; this.navigationContextFactory = navigationContextFactory; }
public DefaultRouteResolver(INancyModuleCatalog catalog, INancyModuleBuilder moduleBuilder, IRouteCache routeCache, IRouteResolverTrie trie) { this.catalog = catalog; this.moduleBuilder = moduleBuilder; this.routeCache = routeCache; this.trie = trie; this.BuildTrie(); }
/// <summary> /// Initializes a new instance of the <see cref="DefaultRouteResolver"/> class, using /// the provided <paramref name="catalog"/>, <paramref name="moduleBuilder"/>, /// <paramref name="routeCache"/> and <paramref name="trie"/>. /// </summary> /// <param name="catalog">A <see cref="INancyModuleCatalog"/> instance.</param> /// <param name="moduleBuilder">A <see cref="INancyModuleBuilder"/> instance.</param> /// <param name="routeCache">A <see cref="IRouteCache"/> instance.</param> /// <param name="trie">A <see cref="IRouteResolverTrie"/> instance.</param> public SoapRouteResolver(INancyModuleCatalog catalog, INancyModuleBuilder moduleBuilder, IRouteCache routeCache, IRouteResolverTrie trie)// : base(catalog, moduleBuilder, routeCache, trie) { this.catalog = catalog; this.moduleBuilder = moduleBuilder; this.routeCache = routeCache; this.trie = trie; this.BuildTrie(); }
/// <summary> /// Initializes a new instance of the <see cref="DefaultRouteResolver"/> class, using /// the provided <paramref name="catalog"/>, <paramref name="moduleBuilder"/>, /// <paramref name="routeCache"/> and <paramref name="trie"/>. /// </summary> /// <param name="catalog">A <see cref="INancyModuleCatalog"/> instance.</param> /// <param name="moduleBuilder">A <see cref="INancyModuleBuilder"/> instance.</param> /// <param name="routeCache">A <see cref="IRouteCache"/> instance.</param> /// <param name="trie">A <see cref="IRouteResolverTrie"/> instance.</param> public DefaultRouteResolver(INancyModuleCatalog catalog, INancyModuleBuilder moduleBuilder, IRouteCache routeCache, IRouteResolverTrie trie) { this.catalog = catalog; this.moduleBuilder = moduleBuilder; this.routeCache = routeCache; this.trie = trie; this.BuildTrie(); }
/// <summary> /// Initializes a new instance of the <see cref="DefaultRouteResolver"/> class, using /// the provided <paramref name="catalog"/>, <paramref name="moduleBuilder"/>, /// <paramref name="routeCache"/> and <paramref name="trie"/>. /// </summary> /// <param name="catalog">An <see cref="INancyModuleCatalog"/> instance.</param> /// <param name="moduleBuilder">An <see cref="INancyModuleBuilder"/> instance.</param> /// <param name="routeCache">An <see cref="IRouteCache"/> instance.</param> /// <param name="trie">An <see cref="IRouteResolverTrie"/> instance.</param> /// <param name="environment">An <see cref="INancyEnvironment"/> instance.</param> public DefaultRouteResolver(INancyModuleCatalog catalog, INancyModuleBuilder moduleBuilder, IRouteCache routeCache, IRouteResolverTrie trie, INancyEnvironment environment) { this.catalog = catalog; this.moduleBuilder = moduleBuilder; this.routeCache = routeCache; this.trie = trie; this.configuration = new Lazy<RouteConfiguration>(environment.GetValue<RouteConfiguration>); this.BuildTrie(); }
/// <summary> /// Initializes a new instance of the <see cref="DefaultRouteResolver"/> class, using /// the provided <paramref name="catalog"/>, <paramref name="moduleBuilder"/>, /// <paramref name="routeCache"/> and <paramref name="trie"/>. /// </summary> /// <param name="catalog">An <see cref="INancyModuleCatalog"/> instance.</param> /// <param name="moduleBuilder">An <see cref="INancyModuleBuilder"/> instance.</param> /// <param name="routeCache">An <see cref="IRouteCache"/> instance.</param> /// <param name="trie">An <see cref="IRouteResolverTrie"/> instance.</param> /// <param name="environment">An <see cref="INancyEnvironment"/> instance.</param> public DefaultRouteResolver(INancyModuleCatalog catalog, INancyModuleBuilder moduleBuilder, IRouteCache routeCache, IRouteResolverTrie trie, INancyEnvironment environment) { this.catalog = catalog; this.moduleBuilder = moduleBuilder; this.routeCache = routeCache; this.trie = trie; this.configuration = new Lazy <RouteConfiguration>(environment.GetValue <RouteConfiguration>); this.BuildTrie(); }
public MenuComponent(IRouteResolverTrie routeResolverTrie, IHttpContextAccessor httpAccessor, IDocumentStore documentStore) { _routeResolverTrie = routeResolverTrie; _httpAccessor = httpAccessor; _documentStore = documentStore; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultBrickPileContextFactory"/> class. /// </summary> /// <param name="routeResolverTrie">The route resolver trie.</param> /// <param name="navigationContextFactory">The navigation context factory.</param> public DefaultBrickPileContextFactory(IRouteResolverTrie routeResolverTrie, INavigationContextFactory navigationContextFactory) { this.routeResolverTrie = routeResolverTrie; this.navigationContextFactory = navigationContextFactory; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultNavigationContextFactory" /> class. /// </summary> /// <param name="requestContext">The request context.</param> /// <param name="routeResolverTrie">The route resolver trie.</param> /// <param name="documentStore">The document store.</param> public DefaultNavigationContextFactory(Func <RequestContext> requestContext, IRouteResolverTrie routeResolverTrie, IDocumentStore documentStore) { this.requestContext = requestContext; this.routeResolverTrie = routeResolverTrie; this.documentStore = documentStore; }
public DefaultRouteResolver(IRouteResolverTrie routeResolverTrie) { this.routeResolverTrie = routeResolverTrie; }
public SettingsController(IDocumentStore documentStore, IRouteResolverTrie trieResolver) { _documentStore = documentStore; _trieResolver = trieResolver; }
public DefaultRouteResolver(IRouteResolverTrie routeResolverTrie) { this.routeResolverTrie = routeResolverTrie; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultBrickPileContextFactory"/> class. /// </summary> /// <param name="routeResolverTrie">The route resolver trie.</param> /// <param name="navigationContextFactory">The navigation context factory.</param> public DefaultBrickPileContextFactory(IRouteResolverTrie routeResolverTrie, INavigationContextFactory navigationContextFactory) { this.routeResolverTrie = routeResolverTrie; this.navigationContextFactory = navigationContextFactory; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultNavigationContextFactory" /> class. /// </summary> /// <param name="requestContext">The request context.</param> /// <param name="routeResolverTrie">The route resolver trie.</param> /// <param name="documentStore">The document store.</param> public DefaultNavigationContextFactory(Func<RequestContext> requestContext, IRouteResolverTrie routeResolverTrie, IDocumentStore documentStore) { this.requestContext = requestContext; this.routeResolverTrie = routeResolverTrie; this.documentStore = documentStore; }
public NavigationController(IDocumentStore documentStore, IRouteResolverTrie trieResolver) { _documentStore = documentStore; _trieResolver = trieResolver; }
//private const string RavenClrType = "Raven-Clr-Type"; public DefaultRouteResolver(IRouteResolverTrie routeResolverTrie, IControllerMapper controllerMapper) { _routeResolverTrie = routeResolverTrie; _controllerMapper = controllerMapper; }
public RouteResolver(IRouteResolverTrie routeResolverTrie) { _routeResolverTrie = routeResolverTrie; }
//private const string RavenClrType = "Raven-Clr-Type"; public DefaultRouteResolver(IRouteResolverTrie routeResolverTrie, IControllerMapper controllerMapper) { _routeResolverTrie = routeResolverTrie; _controllerMapper = controllerMapper; }