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