Example #1
0
 public ExplorationController(INavigationStringValidator navigationStringValidator, INavigationContextFactory navigationContextFactory, IMemoryCache cache, ILogger <ExplorationController> logger)
 {
     _navigationStringValidator = navigationStringValidator;
     _navigationContextFactory  = navigationContextFactory;
     _memoryCache = cache;
     _logger      = logger;
 }
 /// <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;
 }
 /// <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="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;
 }