コード例 #1
0
 public FormController(IFormService _formService, IFormElementService _formElementService, IFormElementItemService _itemService, IFormArchiveService _formArchiveService)
 {
     formService        = _formService;
     formElementService = _formElementService;
     itemService        = _itemService;
     formArchiveService = _formArchiveService;
 }
コード例 #2
0
        public ElementServiceFactory(
            IAlbumElementService albumElementService, ICarouselElementService carouselElementService, ICodeSnippetElementService codeSnippetElementService, IFooterElementService footerElementService, IFormElementService formElementService, IForumElementService forumElementService, IHtmlElementService htmlElementService, ILatestThreadsElementService latestThreadsElementService, INavigationBarElementService navigationBarElementService, IPageHeaderElementService pageHeaderElementService, IPageListElementService pageListElementService, IShareElementService shareElementService, ISocialBarElementService socialBarElementService, ITableElementService tableElementService, ITagCloudElementService tagCloudElementService, ITestimonialElementService testimonialElementService,
            IAmortisationCalculatorElementService amortisationCalculatorElementService, IBorrowCalculatorElementService borrowCalculatorElementService, IPayCalculatorElementService payCalculatorElementService, IRentalCalculatorElementService rentalCalculatorElementService, IStampDutyCalculatorElementService stampDutyCalculatorElementService
            )
        {
            // General elements
            _albumElementService         = albumElementService;
            _carouselElementService      = carouselElementService;
            _codeSnippetElementService   = codeSnippetElementService;
            _footerElementService        = footerElementService;
            _formElementService          = formElementService;
            _forumElementService         = forumElementService;
            _htmlElementService          = htmlElementService;
            _latestThreadsElementService = latestThreadsElementService;
            _navigationBarElementService = navigationBarElementService;
            _pageHeaderElementService    = pageHeaderElementService;
            _pageListElementService      = pageListElementService;
            _shareElementService         = shareElementService;
            _socialBarElementService     = socialBarElementService;
            _tableElementService         = tableElementService;
            _tagCloudElementService      = tagCloudElementService;
            _testimonialElementService   = testimonialElementService;

            // Mortgage elements
            _amortisationCalculatorElementService = amortisationCalculatorElementService;
            _borrowCalculatorElementService       = borrowCalculatorElementService;
            _payCalculatorElementService          = payCalculatorElementService;
            _rentalCalculatorElementService       = rentalCalculatorElementService;
            _stampDutyCalculatorElementService    = stampDutyCalculatorElementService;
        }
コード例 #3
0
 public FormsController()
 {
     formsService              = ServiceLocator.Current.GetInstance <IFormService>();
     formsLocaleService        = ServiceLocator.Current.GetInstance <IFormLocaleService>();
     formsElementService       = ServiceLocator.Current.GetInstance <IFormElementService>();
     formsElementLocaleService = ServiceLocator.Current.GetInstance <IFormElementLocaleService>();
     permissionService         = ServiceLocator.Current.GetInstance <IPermissionCommonService>();
     permissionsHelper         = ServiceLocator.Current.GetInstance <IPermissionsHelper>();
 }
コード例 #4
0
        public FormsController()
        {
            formsService = ServiceLocator.Current.GetInstance<IFormService>();
            formsLocaleService = ServiceLocator.Current.GetInstance<IFormLocaleService>();
            formsElementService = ServiceLocator.Current.GetInstance<IFormElementService>();
            formsElementLocaleService = ServiceLocator.Current.GetInstance<IFormElementLocaleService>();
            permissionService = ServiceLocator.Current.GetInstance<IPermissionCommonService>();
            permissionsHelper = ServiceLocator.Current.GetInstance<IPermissionsHelper>();

        }
コード例 #5
0
 public MailController(IMailService _mailService, IUserService _userService, IFormService _formService, IFormElementService _formElementService,
                       IFormArchiveService _formArchiveService, IContactService _contactService, IWebHostEnvironment _env)
 {
     mailService        = _mailService;
     userService        = _userService;
     formService        = _formService;
     formElementService = _formElementService;
     formArchiveService = _formArchiveService;
     contactService     = _contactService;
     env = _env;
 }
コード例 #6
0
 public ElementsController(IAlbumElementService albumElementService, ICarouselElementService carouselElementService, ICodeSnippetElementService codeSnippetElementService, IFooterElementService footerElementService, IFormElementService formElementService, IForumElementService forumElementService, IHtmlElementService htmlElementService, ILatestThreadsElementService latestThreadsElementService, INavigationBarElementService navigationBarElementService, IPageHeaderElementService pageHeaderElementService, IPageListElementService pageListElementService, IShareElementService shareElementService, ISocialBarElementService socialBarElementService, ITableElementService tableElementService, ITagCloudElementService tagCloudElementService, ITestimonialElementService testimonialElementService)
 {
     _albumElementService         = albumElementService;
     _carouselElementService      = carouselElementService;
     _codeSnippetElementService   = codeSnippetElementService;
     _footerElementService        = footerElementService;
     _formElementService          = formElementService;
     _forumElementService         = forumElementService;
     _htmlElementService          = htmlElementService;
     _latestThreadsElementService = latestThreadsElementService;
     _navigationBarElementService = navigationBarElementService;
     _pageHeaderElementService    = pageHeaderElementService;
     _pageListElementService      = pageListElementService;
     _shareElementService         = shareElementService;
     _socialBarElementService     = socialBarElementService;
     _tableElementService         = tableElementService;
     _tagCloudElementService      = tagCloudElementService;
     _testimonialElementService   = testimonialElementService;
 }
コード例 #7
0
 public FormElementController(IFormElementService _service)
 {
     service = _service;
 }