/// <summary> /// Initializes a new instance of the <see cref="SavePagePropertiesCommand" /> class. /// </summary> /// <param name="pageService">The page service.</param> /// <param name="redirectService">The redirect service.</param> /// <param name="tagService">The tag service.</param> /// <param name="sitemapService">The sitemap service.</param> /// <param name="urlService">The URL service.</param> /// <param name="optionService">The option service.</param> /// <param name="cmsConfiguration">The CMS configuration.</param> /// <param name="accessControlService">The access control service.</param> /// <param name="contentService">The content service.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="categoryService">The category service.</param> public SavePagePropertiesCommand( IPageService pageService, IRedirectService redirectService, ITagService tagService, ISitemapService sitemapService, IUrlService urlService, IOptionService optionService, ICmsConfiguration cmsConfiguration, IAccessControlService accessControlService, IContentService contentService, IMasterPageService masterPageService, ICategoryService categoryService) { this.pageService = pageService; this.redirectService = redirectService; this.tagService = tagService; this.sitemapService = sitemapService; this.urlService = urlService; this.optionService = optionService; this.cmsConfiguration = cmsConfiguration; this.accessControlService = accessControlService; this.contentService = contentService; this.masterPageService = masterPageService; this.categoryService = categoryService; }
public MasterPageViewModel(IMasterPageService masterPageService, INavigationService navigationService) : base(navigationService) { _masterPageService = masterPageService; _selectedMenuItem = getDefaultMenuItem(); Testing = "Grrrw"; }
/// <summary> /// Initializes a new instance of the <see cref="PageService" /> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="unitOfWork">The unit of work.</param> /// <param name="pagePropertiesService">The page properties service.</param> /// <param name="pageExistsService">The page exists service.</param> /// <param name="pageContentsService">The page contents service.</param> /// <param name="pageContentService">The page content service.</param> /// <param name="urlService">The URL service.</param> /// <param name="fileUrlResolver">The file URL resolver.</param> /// <param name="pageTranslationsService">The page translations service.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="pageService">The page service.</param> /// <param name="sitemapService">The sitemap service.</param> /// <param name="tagService">The tag service.</param> /// <param name="accessControlService">The access control service.</param> public PageService( IRepository repository, IUnitOfWork unitOfWork, IPagePropertiesService pagePropertiesService, IPageExistsService pageExistsService, IPageContentsService pageContentsService, IPageContentService pageContentService, IUrlService urlService, IMediaFileUrlResolver fileUrlResolver, IPageTranslationsService pageTranslationsService, IMasterPageService masterPageService, Module.Pages.Services.IPageService pageService, ISitemapService sitemapService, ITagService tagService, IAccessControlService accessControlService) { this.pageContentsService = pageContentsService; this.pageContentService = pageContentService; this.pagePropertiesService = pagePropertiesService; this.pageExistsService = pageExistsService; this.repository = repository; this.urlService = urlService; this.fileUrlResolver = fileUrlResolver; this.pageTranslationsService = pageTranslationsService; }
/// <summary> /// Initializes a new instance of the <see cref="PagePropertiesService" /> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="urlService">The URL service.</param> /// <param name="optionService">The option service.</param> /// <param name="fileUrlResolver">The file URL resolver.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="tagService">The tag service.</param> /// <param name="accessControlService">The access control service.</param> /// <param name="unitOfWork">The unit of work.</param> /// <param name="pageService">The page service.</param> /// <param name="securityService">The security service.</param> public PagePropertiesService( IRepository repository, IUrlService urlService, IOptionService optionService, IMediaFileUrlResolver fileUrlResolver, IMasterPageService masterPageService, Module.Pages.Services.ITagService tagService, IAccessControlService accessControlService, IUnitOfWork unitOfWork, Module.Pages.Services.IPageService pageService, ISecurityService securityService, ICategoryService categoryService) { this.repository = repository; this.urlService = urlService; this.optionService = optionService; this.fileUrlResolver = fileUrlResolver; this.masterPageService = masterPageService; this.tagService = tagService; this.accessControlService = accessControlService; this.unitOfWork = unitOfWork; this.securityService = securityService; this.pageService = pageService; this.categoryService = categoryService; }
public PageListElementService(IElementRepository <PageListElementSettings> elementRepository, IMasterPageService masterPageService, IPageService pageService, IStorageService storageService, ITagService tagService) { _elementRepository = elementRepository; _masterPageService = masterPageService; _pageService = pageService; _storageService = storageService; _tagService = tagService; }
/// <summary> /// Initializes a new instance of the <see cref="CreatePageCommand" /> class. /// </summary> /// <param name="pageService">The page service.</param> /// <param name="urlService">The URL service.</param> /// <param name="cmsConfiguration">The CMS configuration.</param> /// <param name="optionService">The option service.</param> /// <param name="masterPageService">The master page service.</param> public CreatePageCommand(IPageService pageService, IUrlService urlService, ICmsConfiguration cmsConfiguration, IOptionService optionService, IMasterPageService masterPageService) { this.pageService = pageService; this.urlService = urlService; this.cmsConfiguration = cmsConfiguration; this.optionService = optionService; this.masterPageService = masterPageService; }
/// <summary> /// Constructor sets dependent components. /// </summary> /// <param name="administrationPortalService">Provides generic administration features.</param> /// <param name="gridService">Used to construct grid view models.</param> /// <param name="masterPageService">Provides access to master pages.</param> /// <param name="masterPageConverter">Converts between master page business and view models.</param> /// <param name="webHelperService">Provides access to low level web components.</param> public MasterPagePortalService(IAdministrationPortalService administrationPortalService, IGridService gridService, IMasterPageService masterPageService, IModelConverter <MasterPage, MasterPageViewModel> masterPageConverter, IWebHelperService webHelperService) { _administrationPortalService = administrationPortalService; _gridService = gridService; _masterPageService = masterPageService; _masterPageConverter = masterPageConverter; _webHelperService = webHelperService; }
/// <summary> /// Constructor sets dependent components. /// </summary> /// <param name="authenticationService">Provides access to authentication services.</param> /// <param name="authorizationService">Authorization service.</param> /// <param name="dataAnnotationsService">Retrieves information from data annotations.</param> /// <param name="elementService">Used to enumerate elements.</param> /// <param name="formHelperService">Provides form helper utilities.</param> /// <param name="masterPageService">For administration of master pages.</param> public MasterPageZoneFormService(IAuthenticationService authenticationService, IAuthorizationService authorizationService, IDataAnnotationsService dataAnnotationsService, IElementService elementService, IFormHelperService formHelperService, IMasterPageService masterPageService) { _authenticationService = authenticationService; _authorizationService = authorizationService; _dataAnnotationsService = dataAnnotationsService; _elementService = elementService; _formHelperService = formHelperService; _masterPageService = masterPageService; }
public BaseMenuItem(IMasterPageService masterPageService) { _masterPageService = masterPageService; NavigateToRootPageCommand = new Command <string>((param) => { _masterPageService.SetRootPage(param); }); }
public PageZoneFormService(IAuthenticationService authenticationService, IAuthorizationService authorizationService, IElementService elementService, IFormHelperService formHelperService, IMasterPageService masterPageService, Core.Pages.IPageService pageService) { _authenticationService = authenticationService; _authorizationService = authorizationService; _elementService = elementService; _formHelperService = formHelperService; _masterPageService = masterPageService; _pageService = pageService; }
/// <summary> /// Constructor sets dependent components. /// </summary> /// <param name="authenticationService">Provides access to authentication related code.</param> /// <param name="authorizationService">Authorizatoin service.</param> /// <param name="formHelperService">Provides access to form helper methods for tasks such as creating form results.</param> /// <param name="masterPageService">Provides access to master pages.</param> /// <param name="pagePortalService">Page portal service.</param> /// <param name="pageService">Provices access to pages.</param> public PageFormService(IAuthenticationService authenticationService, IAuthorizationService authorizationService, IFormHelperService formHelperService, IMasterPageService masterPageService, IPagePortalService pagePortalService, IPageService pageService) { _authenticationService = authenticationService; _authorizationService = authorizationService; _formHelperService = formHelperService; _masterPageService = masterPageService; _pagePortalService = pagePortalService; _pageService = pageService; }
/// <summary> /// Constructor sets dependent components. /// </summary> /// <param name="elementService">For element interactions.</param> /// <param name="imageAnalysisService">Used to retrieve image properties from uploaded files and resize images.</param> /// <param name="masterPageRepository">Master page repository.</param> /// <param name="masterPageService">Master page service.</param> /// <param name="pageRepository">Page repository.</param> /// <param name="pageValidator">Page validator.</param> /// <param name="unitOfWorkFactory">Unit of work factory.</param> /// <param name="uploadService">For the management of uploads.</param> public PageService(IElementService elementService, IImageAnalysisService imageAnalysisService, IMasterPageRepository masterPageRepository, IMasterPageService masterPageService, IPageRepository pageRepository, IPageValidator pageValidator, IUnitOfWorkFactory unitOfWorkFactory, IUploadService uploadService) { _elementService = elementService; _imageAnalysisService = imageAnalysisService; _masterPageRepository = masterPageRepository; _masterPageService = masterPageService; _pageRepository = pageRepository; _pageValidator = pageValidator; _unitOfWorkFactory = unitOfWorkFactory; _uploadService = uploadService; }
/// <summary> /// Constructor sets dependent components. /// </summary> /// <param name="administrationService">Administration service.</param> /// <param name="administrationPortalService">Administration portal service.</param> /// <param name="assetService">Assets service.</param> /// <param name="authenticationService">Provces access to authentication functions.</param> /// <param name="elementService">Provides access to element information.</param> /// <param name="gridService">Used to construct grid view models.</param> /// <param name="masterPageService">Used for the retrieval of master pages.</param> /// <param name="pageService">Provides access to page management functionality.</param> /// <param name="webHelperService">Provides low level access to web components.</param> public PagePortalService(IAdministrationService administrationService, IAdministrationPortalService administrationPortalService, IAssetService assetService, IAuthenticationService authenticationService, IElementService elementService, IGridService gridService, IMasterPageService masterPageService, IPageService pageService, IWebHelperService webHelperService) { _administrationService = administrationService; _administrationPortalService = administrationPortalService; _assetService = assetService; _authenticationService = authenticationService; _elementService = elementService; _gridService = gridService; _masterPageService = masterPageService; _pageService = pageService; _webHelperService = webHelperService; }
public App(IPageResolver pageResolver, IMasterPageService masterPageService) { InitializeComponent(); var mainpage = pageResolver.ResolvePage(ViewNames.Main); masterPageService.InitializeMasterDetailPage((MasterDetailPage)mainpage); MainPage = mainpage; }
/// <summary> /// Initializes a new instance of the <see cref="AddNewPageCommand" /> class. /// </summary> /// <param name="LayoutService">The layout service.</param> /// <param name="cmsConfiguration">The CMS configuration.</param> /// <param name="securityService">The security service.</param> /// <param name="optionService">The option service.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="repository">The repository.</param> /// <param name="languageService">The language service.</param> public AddNewPageCommand(ILayoutService LayoutService, ICmsConfiguration cmsConfiguration, ISecurityService securityService, IOptionService optionService, IMasterPageService masterPageService, IRepository repository, ILanguageService languageService) { layoutService = LayoutService; this.cmsConfiguration = cmsConfiguration; this.securityService = securityService; this.optionService = optionService; this.masterPageService = masterPageService; this.repository = repository; this.languageService = languageService; }
/// <summary> /// Initializes a new instance of the <see cref="SaveBlogPostCommand" /> class. /// </summary> /// <param name="tagService">The tag service.</param> /// <param name="optionService">The option service.</param> /// <param name="contentService">The content service.</param> /// <param name="pageService">The page service.</param> /// <param name="blogService">The blog service.</param> /// <param name="redirectService">The redirect service.</param> /// <param name="urlService">The URL service.</param> /// <param name="cmsConfiguration">The CMS configuration.</param> /// <param name="masterPageService">The master page service.</param> public SaveBlogPostCommand(ITagService tagService, Services.IOptionService optionService, IContentService contentService, IPageService pageService, IBlogService blogService, IRedirectService redirectService, IUrlService urlService, ICmsConfiguration cmsConfiguration, IMasterPageService masterPageService) { this.tagService = tagService; this.optionService = optionService; this.contentService = contentService; this.pageService = pageService; this.blogService = blogService; this.redirectService = redirectService; this.urlService = urlService; this.masterPageService = masterPageService; this.cmsConfiguration = cmsConfiguration; }
public Page2Sub1ViewModel(INavigationService navigationService, IMasterPageService masterPageService) : base(navigationService) { _navigationService = navigationService; _masterPageService = masterPageService; Command1 = new Command(async() => { //TODO: try moving this logic to masterpageservice. //if navigation is the current, then pop the old first. await _navigationService.PopToRootPageAsync(); _masterPageService.SetRootPage(ViewNames.Page1); }); }
/// <summary> /// Initializes a new instance of the <see cref="DefaultBlogService" /> class. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="urlService">The URL service.</param> /// <param name="repository">The repository.</param> /// <param name="optionService">The option service.</param> /// <param name="accessControlService">The access control service.</param> /// <param name="securityService">The security service.</param> /// <param name="contentService">The content service.</param> /// <param name="tagService">The tag service.</param> /// <param name="pageService">The page service.</param> /// <param name="redirectService">The redirect service.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="unitOfWork">The unit of work.</param> public DefaultBlogService(ICmsConfiguration configuration, IUrlService urlService, IRepository repository, IOptionService optionService, IAccessControlService accessControlService, ISecurityService securityService, IContentService contentService, ITagService tagService, IPageService pageService, IRedirectService redirectService, IMasterPageService masterPageService, IUnitOfWork unitOfWork) { this.configuration = configuration; this.urlService = urlService; this.repository = repository; this.optionService = optionService; this.accessControlService = accessControlService; this.securityService = securityService; this.contentService = contentService; this.pageService = pageService; this.redirectService = redirectService; this.masterPageService = masterPageService; this.tagService = tagService; this.unitOfWork = unitOfWork; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultBlogService" /> class. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="urlService">The URL service.</param> /// <param name="repository">The repository.</param> /// <param name="optionService">The option service.</param> /// <param name="accessControlService">The access control service.</param> /// <param name="securityService">The security service.</param> /// <param name="cmsConfiguration">The CMS configuration.</param> /// <param name="contentService">The content service.</param> /// <param name="tagService">The tag service.</param> /// <param name="pageService">The page service.</param> /// <param name="redirectService">The redirect service.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="unitOfWork">The unit of work.</param> public DefaultBlogService(ICmsConfiguration configuration, IUrlService urlService, IRepository repository, IOptionService optionService, IAccessControlService accessControlService, ISecurityService securityService, ICmsConfiguration cmsConfiguration, IContentService contentService, ITagService tagService, IPageService pageService, IRedirectService redirectService, IMasterPageService masterPageService, IUnitOfWork unitOfWork) { this.configuration = configuration; this.urlService = urlService; this.repository = repository; this.optionService = optionService; this.accessControlService = accessControlService; this.securityService = securityService; this.cmsConfiguration = cmsConfiguration; this.contentService = contentService; this.pageService = pageService; this.redirectService = redirectService; this.masterPageService = masterPageService; this.tagService = tagService; this.unitOfWork = unitOfWork; }
public MasterPagesController(IMasterPageService masterPageService) { _masterPageService = masterPageService; }
public HomePageController(ILogService logService, IMasterPageService masterPageService) { _logService = logService; _masterPageService = masterPageService; }
public HomePageController(IMasterPageService masterPageService) { _masterPageService = masterPageService; }
public DefaultBlogSaveService(ICmsConfiguration configuration, IUrlService urlService, IRepository repository, IOptionService blogOptionService, IAccessControlService accessControlService, ISecurityService securityService, IContentService contentService, ITagService tagService, IPageService pageService, IRedirectService redirectService, IMasterPageService masterPageService, IUnitOfWork unitOfWork, RootOptionService optionService, ICategoryService categoryService) : base(configuration, urlService, repository, blogOptionService, accessControlService, securityService, contentService, tagService, pageService, redirectService, masterPageService, unitOfWork, optionService, categoryService) { }
public Page1MenuItem(IMasterPageService masterPageService) : base(masterPageService) { }
public GetPageHtmlContentCommand(IContentService contentService, IMasterPageService masterPageService, ICmsConfiguration configuration) { this.masterPageService = masterPageService; this.configuration = configuration; this.contentService = contentService; }
public GetLayoutOptionsCommand(ILayoutService layoutService, IMasterPageService masterPageService) { this.layoutService = layoutService; this.masterPageService = masterPageService; }
public GetInsertHtmlContentCommand(IRepository repository, IMasterPageService masterPageService) { this.masterPageService = masterPageService; this.repository = repository; }
public DefaultBlogSaveService(ICmsConfiguration configuration, IUrlService urlService, IRepository repository, IOptionService optionService, IAccessControlService accessControlService, ISecurityService securityService, IContentService contentService, ITagService tagService, IPageService pageService, IRedirectService redirectService, IMasterPageService masterPageService, IUnitOfWork unitOfWork) : base(configuration, urlService, repository, optionService, accessControlService, securityService, contentService, tagService, pageService, redirectService, masterPageService, unitOfWork) { }