Ejemplo n.º 1
0
        public AddNavBarContent(IConfigurationResolver configurationResolver, IGraphQLEndpointManager graphQLEndpointManager, IPlaceholderRenderingService placeholderService, IConfiguration layoutServiceConfiguration, BaseLog log, IAsyncHelpers asyncHelpers)
        {
            Assert.ArgumentNotNull(asyncHelpers, nameof(asyncHelpers));

            _configurationResolver      = configurationResolver;
            _placeholderService         = placeholderService;
            _layoutServiceConfiguration = layoutServiceConfiguration;
            _log          = log;
            _asyncHelpers = asyncHelpers;

            _graphQLEndpoints = graphQLEndpointManager
                                .GetEndpoints()
                                .ToDictionary(
                endpoint => endpoint.Url,
                endpoint => endpoint,
                StringComparer.OrdinalIgnoreCase
                );
        }
Ejemplo n.º 2
0
 public CustomLayoutService(
     IPlaceholderRenderingService placeholderService,
     ILayoutServiceContext serviceContext) : base(placeholderService, serviceContext)
 {
 }