コード例 #1
0
 public CodeSnippetAdminFormService(IAuthenticationService authenticationService, IAuthorizationService authorizationService, IDataAnnotationsService dataAnnotationsService, IElementFactory elementFactory, IFormHelperService formHelperService)
 {
     _authenticationService  = authenticationService;
     _authorizationService   = authorizationService;
     _dataAnnotationsService = dataAnnotationsService;
     _elementFactory         = elementFactory;
     _formHelperService      = formHelperService;
 }
コード例 #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;
 }
コード例 #3
0
 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;
 }
コード例 #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;
 }
コード例 #5
0
ファイル: GridService.cs プロジェクト: moayyaed/riverside-cms
 /// <summary>
 /// Constructor sets dependent components.
 /// </summary>
 /// <param name="dataAnnotationsService">Data annotations service.</param>
 public GridService(IDataAnnotationsService dataAnnotationsService)
 {
     _dataAnnotationsService = dataAnnotationsService;
 }
コード例 #6
0
 /// <summary>
 /// Constructor sets dependent comnponents.
 /// </summary>
 /// <param name="dataAnnotationsService">Data annotations service.</param>
 public MasterPageConverter(IDataAnnotationsService dataAnnotationsService)
 {
     _dataAnnotationsService = dataAnnotationsService;
 }
コード例 #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;
 }