Пример #1
0
 public FutureNhsBlockService(IConfiguration config, ConverterCollection converters, IFutureNhsContentService futureNhsContentService, IContentTypeService contentTypeService, IContentService contentService)
 {
     _config     = config;
     _converters = converters;
     _futureNhsContentService = futureNhsContentService;
     _contentTypeService      = contentTypeService;
     _contentService          = contentService;
 }
 public FutureNhsSiteMapHandler(IFutureNhsContentService futureNhsContentService, IFutureNhsSiteMapService futureNhsSiteMapService)
 {
     _futureNhsContentService = futureNhsContentService;
     _futureNhsSiteMapService = futureNhsSiteMapService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FutureNhsTemplateHandler"/> class.
 /// </summary>
 /// <param name="futureNhsContentService">The future NHS content service.</param>
 /// <param name="config">The configuration.</param>
 public FutureNhsTemplateHandler(IFutureNhsContentService futureNhsContentService, IConfiguration config)
 {
     _futureNhsContentService = futureNhsContentService;
     _config = config;
 }
 public FutureNhsContentHandler(IFutureNhsContentService futureNhsContentService, IFutureNhsBlockService futureNhsBlockService)
 {
     _futureNhsContentService = futureNhsContentService ?? throw new ArgumentNullException(nameof(futureNhsContentService));
     _futureNhsBlockService   = futureNhsBlockService;
 }
Пример #5
0
 public FutureNhsSiteMapService(IFutureNhsContentService futureNhsContentService, IConfiguration config)
 {
     _futureNhsContentService = futureNhsContentService;
     _config = config;
 }
Пример #6
0
 public FutureNhsBlockHandler(IConfiguration config, IFutureNhsContentService futureNhsContentService, IFutureNhsBlockService futureNhsBlockService)
 {
     _config = config;
     _futureNhsContentService = futureNhsContentService;
     _futureNhsBlockService   = futureNhsBlockService;
 }