public MenuComponent(IRouteResolverTrie routeResolverTrie, IHttpContextAccessor httpAccessor, IDocumentStore documentStore, IBricsContextAccessor bricsContextAccessor) { _routeResolverTrie = routeResolverTrie; _httpAccessor = httpAccessor; _documentStore = documentStore; _bricsContextAccessor = bricsContextAccessor; }
public ComponentTagHelper(IHttpContextAccessor contextAccessor, IBricsContextAccessor bricsContext) { _contextAccessor = contextAccessor; _bricsContext = bricsContext; _urlHelper = contextAccessor.HttpContext.RequestServices.GetService<IUrlHelper>(); _htmlHelper = contextAccessor.HttpContext.RequestServices.GetService<IHtmlHelper>(); }
public LayoutModel(IConfiguration configuration, IDocumentStore documentStore, IHttpContextAccessor httpContextAccessor, IBricsContextAccessor bricsContextAccessor) { _configuration = configuration; _httpContextAccessor = httpContextAccessor; _bricsContextAccessor = bricsContextAccessor; Initialize(documentStore); }
public LayoutModel(IDocumentStore documentStore, IHttpContextAccessor httpContextAccessor, IBricsContextAccessor bricsContextAccessor) { _httpContextAccessor = httpContextAccessor; _bricsContextAccessor = bricsContextAccessor; Initialize(documentStore); }
public BrickPileEditorTagHelper(IHtmlHelper htmlHelper, IBricsContextAccessor bricsContextAccessor) { _htmlHelper = htmlHelper; _bricsContextAccessor = bricsContextAccessor; }