public CodeSnippetAdminFormService(IAuthenticationService authenticationService, IAuthorizationService authorizationService, IDataAnnotationsService dataAnnotationsService, IElementFactory elementFactory, IFormHelperService formHelperService)
 {
     _authenticationService  = authenticationService;
     _authorizationService   = authorizationService;
     _dataAnnotationsService = dataAnnotationsService;
     _elementFactory         = elementFactory;
     _formHelperService      = formHelperService;
 }
Esempio n. 2
0
 /// <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 PageListAdminFormService(IAuthenticationService authenticationService, IAuthorizationService authorizationService, IDataAnnotationsService dataAnnotationsService, IElementFactory elementFactory, IFormHelperService formHelperService, IPageService pageService)
 {
     _authenticationService  = authenticationService;
     _authorizationService   = authorizationService;
     _dataAnnotationsService = dataAnnotationsService;
     _elementFactory         = elementFactory;
     _formHelperService      = formHelperService;
     _pageService            = pageService;
 }
Esempio n. 4
0
 public ForumFormService(IAuthenticationService authenticationService, IAuthorizationService authorizationService, IDataAnnotationsService dataAnnotationsService, IFormHelperService formHelperService, IForumService forumService, IForumUrlService forumUrlService, IPageService pageService)
 {
     _authenticationService  = authenticationService;
     _authorizationService   = authorizationService;
     _dataAnnotationsService = dataAnnotationsService;
     _formHelperService      = formHelperService;
     _forumService           = forumService;
     _forumUrlService        = forumUrlService;
     _pageService            = pageService;
 }
Esempio n. 5
0
 /// <summary>
 /// Constructor sets dependent components.
 /// </summary>
 /// <param name="dataAnnotationsService">Data annotations service.</param>
 public GridService(IDataAnnotationsService dataAnnotationsService)
 {
     _dataAnnotationsService = dataAnnotationsService;
 }
Esempio n. 6
0
 /// <summary>
 /// Constructor sets dependent comnponents.
 /// </summary>
 /// <param name="dataAnnotationsService">Data annotations service.</param>
 public MasterPageConverter(IDataAnnotationsService dataAnnotationsService)
 {
     _dataAnnotationsService = dataAnnotationsService;
 }
Esempio n. 7
0
 /// <summary>
 /// Constructor sets dependent comnponents.
 /// </summary>
 /// <param name="dataAnnotationsService">Data annotations service.</param>
 /// <param name="templateRepository">Template repository.</param>
 public WebConverter(IDataAnnotationsService dataAnnotationsService, ITemplateRepository templateRepository)
 {
     _dataAnnotationsService = dataAnnotationsService;
     _templateRepository     = templateRepository;
 }