/// <summary> /// Creates the specified current trie. /// </summary> /// <param name="requestContext"></param> /// <returns></returns> public BrickPileContext Create(RequestContext requestContext) { var context = new BrickPileContext { RequestContext = requestContext, Trie = this.routeResolverTrie.LoadTrie(), NavigationContext = this.navigationContextFactory.Create() }; return context; }
/// <summary> /// Creates the specified current trie. /// </summary> /// <param name="requestContext"></param> /// <returns></returns> public BrickPileContext Create(RequestContext requestContext) { var context = new BrickPileContext { RequestContext = requestContext, Trie = this.routeResolverTrie.LoadTrie(), NavigationContext = this.navigationContextFactory.Create() }; return(context); }