/// <summary> /// Constructor sets dependent components. /// </summary> /// <param name="elementService">Used to retrieve, update and delete elements.</param> /// <param name="masterPageRepository">Master page repository.</param> /// <param name="masterPageValidator">Master page validator.</param> /// <param name="pageRepository">Page repository.</param> /// <param name="unitOfWorkFactory">For the creation of units of work to ensure transactional integrity.</param> public MasterPageService(IElementService elementService, IMasterPageRepository masterPageRepository, IMasterPageValidator masterPageValidator, IPageRepository pageRepository, IUnitOfWorkFactory unitOfWorkFactory) { _elementService = elementService; _masterPageRepository = masterPageRepository; _masterPageValidator = masterPageValidator; _pageRepository = pageRepository; _unitOfWorkFactory = unitOfWorkFactory; }
/// <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 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; }
public ElementAppService( IMongoDbRepository <Element, long> elementRepository, IElementService elementService, IMongoDbRepository <Map, long> mapRepository ) { _elementRepository = elementRepository; _elementService = elementService; _mapRepository = mapRepository; }
/// <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; }
/// <summary> /// Constructor sets dependent components. /// </summary> /// <param name="domainRepository">Domain repository.</param> /// <param name="elementService">Element service.</param> /// <param name="masterPageRepository">Master page repository.</param> /// <param name="pageService">Page service.</param> /// <param name="unitOfWorkFactory">Unit of work factory.</param> /// <param name="templateRepository">Template repository.</param> /// <param name="tenantRepository">Used to get new tenant identifier when website created.</param> /// <param name="webRepository">Web repository.</param> /// <param name="webValidator">Validates create, update and delete actions.</param> public WebService(IDomainRepository domainRepository, IElementService elementService, IMasterPageRepository masterPageRepository, IPageService pageService, IUnitOfWorkFactory unitOfWorkFactory, ITemplateRepository templateRepository, ITenantRepository tenantRepository, IWebRepository webRepository, IWebValidator webValidator) { _domainRepository = domainRepository; _elementService = elementService; _masterPageRepository = masterPageRepository; _pageService = pageService; _unitOfWorkFactory = unitOfWorkFactory; _templateRepository = templateRepository; _tenantRepository = tenantRepository; _webRepository = webRepository; _webValidator = webValidator; }
public BaseTest() { var options = new DbContextOptionsBuilder <ZoneDB>() .UseInMemoryDatabase(Guid.NewGuid().ToString()) .Options; var context = new ZoneDB(options); ZoneService = new ZoneService(context); ElementService = new ElementService(context); WeatherService = new WeatherService(); CommunicationService = new CommunicationService(WeatherService, context); IOptions <AppSettings> appSettings = Options.Create <AppSettings>(new AppSettings() { Secret = "Testing" }); UserService = new UserService(appSettings, context); }
/// <summary> /// Constructor sets dependent components. /// </summary> /// <param name="authenticationService">Authentication service.</param> /// <param name="elementFactory">For the dynamic creation of element services.</param> /// <param name="elementService">Provides access to elements.</param> public ElementsController(IAuthenticationService authenticationService, IElementFactory elementFactory, IElementService elementService) { _authenticationService = authenticationService; _elementFactory = elementFactory; _elementService = elementService; }
public FormService(FormEngineDbContext context, IFormValidation validation, IElementService elementService) : base(context, validation) { _elementService = elementService; }
public ElementServiceUnitTest() { service = new ElementService(); }
public BattleService(IElementService elementService) { _elementService = elementService; }
public ServersController(IServerService serverService, IElementService elementService) { _serverService = serverService; _elementService = elementService; }
public UserController(IElementService ElementService, INotificationHandler <DomainNotification> notifications, IUserService UserService) { _ElementService = ElementService; _Notifications = (DomainNotificationHandler)notifications; _UserService = UserService; }
public Controller(ICategoryService categoryService, IDocumentService documentService, IElementService elementService, IFilterService filterService, IParameterService parameterService, DocumentChangedEvent documentChangedEvent) { CategoryController = new CategoryController(categoryService); DocumentController = new DocumentController(documentService); ElementController = new ElementController(elementService); FilterController = new FilterController(filterService); ParameterController = new ParameterController(parameterService); DocumentChangedEvent = documentChangedEvent; }
public ElementTokens(IElementService elementService) { _elementService = elementService; }
public WeatherPageModel(IWeatherService weatherService, IElementService elementService) { _weatherService = weatherService; ElementService = elementService; WeatherResponse = new WeatherResponse(); }
public AddElementsSystem(Contexts contexts, IServices services) : base(contexts.Game, Trigger) { _elementService = services.ElementService; _game = contexts.Game; _config = contexts.Config; }
public void SetUp() { //common arrange _elementService = new ElementServiceBase(); }
public ElementsController(IElementService elementSvc) { this._elementSvc = elementSvc; }
public ElementController(ILogger <ElementController> logger, IElementService elementService) { _logger = logger; _elementService = elementService; }
public PowerService(HeroesDbContext context, IElementService elementService) { _context = context; _elementService = elementService; }
public FormElement(IElementService service) { InitializeComponent(); this.service = service; }
public ElementService(IElementService service) { _service = service; }
public ElementController(IElementService elementService) { _elementService = elementService; }
public ElementsController(IElementService elementService) { this.elementService = elementService; }