Пример #1
0
        public SuperRocketController(
            IContentManager contentManager,
            IContentTypesService contentTypesService,
            IHtmlModuleService moduleService
            )
        {
            _contentManager      = contentManager;
            _contentTypesService = contentTypesService;
            _moduleService       = moduleService;

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="CleanUpManagerApiController"/> class.
 /// </summary>
 /// <param name="dataTypesService">The data types service.</param>
 /// <param name="contentTypesService">The content types service.</param>
 public CleanUpManagerApiController(IDataTypesService dataTypesService,
                                 IContentTypesService contentTypesService)
 {
     _dataTypesService = dataTypesService;
     _contentTypesService = contentTypesService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CleanUpManagerApiController"/> class.
 /// </summary>
 public CleanUpManagerApiController()
 {
     _dataTypesService = new DataTypesService();
     _contentTypesService = new ContentTypesService();
 }