Example #1
0
 /// <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;
 }
Example #2
0
 /// <summary>
 /// Constructor sets dependent components.
 /// </summary>
 /// <param name="administrationPortalService">Provides generic administration features.</param>
 /// <param name="formHelperService">Form helper service.</param>
 /// <param name="gridService">Used to construct grid view models.</param>
 /// <param name="webConverter">Converts between web business and web view models.</param>
 /// <param name="webService">Provides access to websites.</param>
 /// <param name="webHelperService">Access to low level web components.</param>
 public WebPortalService(IAdministrationPortalService administrationPortalService, IFormHelperService formHelperService, IGridService gridService, IModelConverter <Web, WebViewModel> webConverter, IWebService webService, IWebHelperService webHelperService)
 {
     _administrationPortalService = administrationPortalService;
     _formHelperService           = formHelperService;
     _gridService      = gridService;
     _webConverter     = webConverter;
     _webService       = webService;
     _webHelperService = webHelperService;
 }
 /// <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;
 }