コード例 #1
0
 public FutureNhsBlockService(IConfiguration config, ConverterCollection converters, IFutureNhsContentService futureNhsContentService, IContentTypeService contentTypeService, IContentService contentService)
 {
     _config     = config;
     _converters = converters;
     _futureNhsContentService = futureNhsContentService;
     _contentTypeService      = contentTypeService;
     _contentService          = contentService;
 }
コード例 #2
0
 public FutureNhsSiteMapHandler(IFutureNhsContentService futureNhsContentService, IFutureNhsSiteMapService futureNhsSiteMapService)
 {
     _futureNhsContentService = futureNhsContentService;
     _futureNhsSiteMapService = futureNhsSiteMapService;
 }
コード例 #3
0
 /// <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;
 }
コード例 #4
0
 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;
 }