public TemplateController(ITemplateService templateService, IWebHostEnvironment webHostEnvironment,
                           IWidgetTemplateService widgetTemplateService)
 {
     _tempService           = templateService;
     _webHostEnvironment    = webHostEnvironment;
     _widgetTemplateService = widgetTemplateService;
 }
Exemple #2
0
 public SubscriptionResolver()
 {
     _subscriptionService   = HostContainer.GetInstance <ISubscriptionService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
     _pageService           = HostContainer.GetInstance <IPageService>();
     _siteSettingService    = HostContainer.GetInstance <ISiteSettingService>();
 }
Exemple #3
0
 public WidgetController(IWidgetService widgetService, IWidgetTemplateService widgetTemplateService,
                         ICookie cookie, IPackageInstallerProvider packageInstallerProvider)
 {
     _widgetService         = widgetService;
     _widgetTemplateService = widgetTemplateService;
     _cookie = cookie;
     _packageInstallerProvider = packageInstallerProvider;
 }
Exemple #4
0
 public WidgetController(IWidgetBasePartService widgetService, IWidgetTemplateService widgetTemplateService,
                         ICookie cookie, IPackageInstallerProvider packageInstallerProvider, IWidgetActivator widgetActivator)
 {
     _widgetService         = widgetService;
     _widgetTemplateService = widgetTemplateService;
     _cookie = cookie;
     _packageInstallerProvider = packageInstallerProvider;
     _widgetActivator          = widgetActivator;
 }
        public WebViewPageBase()
        {
            _widgetTemplateService    = HostContainer.GetInstance <IWidgetTemplateService>();
            _userService              = HostContainer.GetInstance <IUserService>();
            _localizedResourceService = HostContainer.GetInstance <IEzCMSLocalizedResourceService>();
            _siteSettingService       = HostContainer.GetInstance <ISiteSettingService>();
            _styleService             = HostContainer.GetInstance <IStyleService>();
            _scriptService            = HostContainer.GetInstance <IScriptService>();

            _currentController = (ControllerBase)HttpContext.Current.Items[FrameworkConstants.EzCurrentController];
        }
 public PageSearchResolver()
 {
     _pageService           = HostContainer.GetInstance <IPageService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
 }
Exemple #7
0
 public TestimonialsResolver()
 {
     _testimonialService    = HostContainer.GetInstance <ITestimonialService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
 }
 public LocatorResolver()
 {
     _widgetTemplateService = HostContainer.GetInstance<IWidgetTemplateService>();
 }
 /// <summary>
 /// Constructor
 /// </summary>
 public SiteMapSimpleResolver()
 {
     _clientNavigationService = HostContainer.GetInstance <IClientNavigationService>();
     _widgetTemplateService   = HostContainer.GetInstance <IWidgetTemplateService>();
 }
Exemple #10
0
 public ContentUpdateResolver()
 {
     _subscriptionService   = HostContainer.GetInstance <ISubscriptionService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
 }
Exemple #11
0
        public WidgetManageModel()
        {
            _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();

            Templates = new List <SelectListItem>();
        }
 public LocationResolver()
 {
     _widgetTemplateService    = HostContainer.GetInstance <IWidgetTemplateService>();
     _locationService          = HostContainer.GetInstance <ILocationService>();
     _localizedResourceService = HostContainer.GetInstance <IEzCMSLocalizedResourceService>();
 }
 public BreadcrumbsResolver()
 {
     _pageService              = HostContainer.GetInstance <IPageService>();
     _widgetTemplateService    = HostContainer.GetInstance <IWidgetTemplateService>();
     _localizedResourceService = HostContainer.GetInstance <IEzCMSLocalizedResourceService>();
 }
 public WidgetTemplateController(IWidgetTemplateService widgetTemplateService, ICookie cookie, IWidgetBasePartService widgetBasePartService)
 {
     _cookie = cookie;
     _widgetTemplateService = widgetTemplateService;
     _widgetBasePartService = widgetBasePartService;
 }
Exemple #15
0
 public BannerResolver()
 {
     _bannerService            = HostContainer.GetInstance <IBannerService>();
     _widgetTemplateService    = HostContainer.GetInstance <IWidgetTemplateService>();
     _localizedResourceService = HostContainer.GetInstance <IEzCMSLocalizedResourceService>();
 }
 public ProtectedDocumentsResolver()
 {
     _documentService       = HostContainer.GetInstance <IDocumentService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
 }
 public EventSchedulesResolver()
 {
     _eventScheduleService  = HostContainer.GetInstance <IEventScheduleService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
 }
Exemple #18
0
 public WidgetController(IWidgetService widgetService, IWidgetTemplateService widgetTemplateService, ICookie cookie)
 {
     _widgetService         = widgetService;
     _widgetTemplateService = widgetTemplateService;
     _cookie = cookie;
 }
 public NavigationResolver()
 {
     _clientNavigationService = HostContainer.GetInstance <IClientNavigationService>();
     _widgetTemplateService   = HostContainer.GetInstance <IWidgetTemplateService>();
     ShowParentNavigation     = false;
 }
Exemple #20
0
 public WidgetController(IWidgetService widgetService, IWidgetTemplateService widgetTemplateService)
 {
     _widgetService         = widgetService;
     _widgetTemplateService = widgetTemplateService;
 }
Exemple #21
0
 public SocialFeedResolver()
 {
     _socialMediaTokenService  = HostContainer.GetInstance <ISocialMediaTokenService>();
     _widgetTemplateService    = HostContainer.GetInstance <IWidgetTemplateService>();
     _localizedResourceService = HostContainer.GetInstance <IEzCMSLocalizedResourceService>();
 }
Exemple #22
0
 public AssociateListingResolver()
 {
     _associateService      = HostContainer.GetInstance <IAssociateService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
 }
Exemple #23
0
 public RssFeedResolver()
 {
     _rssFeedService           = HostContainer.GetInstance <IRssFeedService>();
     _widgetTemplateService    = HostContainer.GetInstance <IWidgetTemplateService>();
     _localizedResourceService = HostContainer.GetInstance <IEzCMSLocalizedResourceService>();
 }
 public ProtectedDocumentFilesResolver()
 {
     _documentService          = HostContainer.GetInstance <IDocumentService>();
     _widgetTemplateService    = HostContainer.GetInstance <IWidgetTemplateService>();
     _localizedResourceService = HostContainer.GetInstance <IEzCMSLocalizedResourceService>();
 }
Exemple #25
0
 public ServicesResolver()
 {
     _serviceService        = HostContainer.GetInstance <IServiceService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
 }
Exemple #26
0
 public PollResultResolver()
 {
     _widgetTemplateService    = HostContainer.GetInstance <IWidgetTemplateService>();
     _pollAnswerService        = HostContainer.GetInstance <IPollAnswerService>();
     _localizedResourceService = HostContainer.GetInstance <IEzCMSLocalizedResourceService>();
 }
Exemple #27
0
 public NoticeboardResolver()
 {
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
     _noticeService         = HostContainer.GetInstance <INoticeService>();
 }
Exemple #28
0
 public NewsListingResolver()
 {
     _newsService           = HostContainer.GetInstance <INewsService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
 }
 public RotatingImageResolver()
 {
     _rotatingImageGroupService = HostContainer.GetInstance <IRotatingImageGroupService>();
     _widgetTemplateService     = HostContainer.GetInstance <IWidgetTemplateService>();
     _localizedResourceService  = HostContainer.GetInstance <IEzCMSLocalizedResourceService>();
 }
 public NewsCategoryDetailsResolver()
 {
     _newsCategoryService   = HostContainer.GetInstance <INewsCategoryService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
 }