Пример #1
0
        public WidgetCommands(
            IWidgetCommandsService widgetCommandsService)
        {
            _widgetCommandsService = widgetCommandsService;

            RenderTitle = true;
        }
Пример #2
0
        public BlogWidgetCommands(
            IWidgetCommandsService widgetCommandsService,
            IBlogService blogService,
            IContentManager contentManager)
        {
            _widgetCommandsService = widgetCommandsService;
            _blogService           = blogService;
            _contentManager        = contentManager;

            RenderTitle = true;
        }