public PostsController(IPostRepository postRepository, IPropertyCheckerService propertyCheckerService, IMapper mapper) { _postRepository = postRepository; _propertyCheckerService = propertyCheckerService; _mapper = mapper; }
public FriendshipManager(IPropertyMappingService propertyMappingService, IPropertyCheckerService checker, IUnitOfWork uow) { _propertyMappingService = propertyMappingService; _servicePropertyChecker = checker; _uow = uow; }
public WatchedMoviesManager(IPropertyMappingService propertyMappingService, IPropertyCheckerService checker, IUnitOfWork uow) { _servicePropertyChecker = checker; _propertyMappingService = propertyMappingService; _uow = uow; }
public CompaniesController(ICompanyRepositroy companyRepositroy, IMapper mapper, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { _companyRepositroy = companyRepositroy ?? throw new ArgumentNullException(nameof(companyRepositroy)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); _propertyCheckerService = propertyCheckerService ?? throw new ArgumentNullException(nameof(propertyCheckerService)); }
public CompanyController(IRekommendRepository repository, IPropertyCheckerService propertyCheckerService, IPropertyMappingService propertyMappingService, ILogger <CompanyController> logger) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _propertyCheckerService = propertyCheckerService ?? throw new ArgumentNullException(nameof(propertyCheckerService)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public AuthorsController(ICourseLibraryRepository courseLibraryRepository, IMapper mapper, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { _courseLibraryRepository = courseLibraryRepository; _mapper = mapper; _propertyMappingService = propertyMappingService; _propertyCheckerService = propertyCheckerService; }
public AuthorsController(ILibraryRepository libraryRepository, IMapper mapper, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { this.libraryRepository = libraryRepository ?? throw new ArgumentNullException(nameof(libraryRepository)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); this.propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); this.propertyCheckerService = propertyCheckerService ?? throw new ArgumentNullException(nameof(propertyCheckerService)); }
protected QueryHandler( IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(); _propertyCheckerService = propertyCheckerService ?? throw new ArgumentNullException(); }
public CompaniesController(ICompanyRepository companyRepository, IMapper mapper, IPropertyMappingService mappingService, IPropertyCheckerService checkerService) { this._companyRepository = companyRepository ?? throw new ArgumentNullException(nameof(companyRepository)); this._mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); this._mappingService = mappingService ?? throw new ArgumentNullException(nameof(mappingService)); this._checkerService = checkerService ?? throw new ArgumentNullException(nameof(checkerService)); }
public AuthorsController(ICourseLibraryRepository courseLibraryRepository, IMapper mapper, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { _propertyCheckerService = propertyCheckerService ?? throw new ArgumentNullException(nameof(propertyCheckerService)); _courseLibraryRepository = courseLibraryRepository ?? throw new ArgumentNullException(nameof(courseLibraryRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); }
public ProductController(IProductDao productDao, ILogger <ProductController> logger, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService, IMapper mapper) { this._logger = logger ?? throw new ArgumentNullException(nameof(logger)); this._productDao = productDao ?? throw new ArgumentNullException(nameof(productDao)); this._propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); this._propertyCheckerService = propertyCheckerService ?? throw new ArgumentNullException(nameof(propertyCheckerService)); this._mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public GradService(IMapper mapper, HealthCare020DbContext dbContext, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService, IHttpContextAccessor httpContextAccessor, IAuthService authService) : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService) { }
public CustomerController(ICustomerDao customerDao, ILogger <CustomerController> logger, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService, IMapper mapper) { this._logger = logger ?? throw new ArgumentNullException(nameof(logger)); this._customerDao = customerDao ?? throw new ArgumentNullException(nameof(customerDao)); this._propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); this._propertyCheckerService = propertyCheckerService ?? throw new ArgumentNullException(nameof(propertyCheckerService)); this._mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public UserManager(IPropertyMappingService propertyMappingService, IPropertyCheckerService checker, IUnitOfWork uow, IPasswordHelper passHelper) { _propertyMappingService = propertyMappingService; _servicePropertyChecker = checker; _uow = uow; _passHelper = passHelper; }
public TechJobOpeningsController(IRekommendRepository repository, IPropertyCheckerService propertyCheckerService, IPropertyMappingService propertyMappingService, ILogger <TechJobOpeningsController> logger, IUserInfoService userInfoService) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _propertyCheckerService = propertyCheckerService ?? throw new ArgumentNullException(nameof(propertyCheckerService)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _userInfoService = userInfoService ?? throw new ArgumentNullException(nameof(userInfoService)); }
public WatchedMoviesController(IMapper mapper, IPropertyMappingService service, IPropertyCheckerService checker, IYearStatisticManager yearStatisticManager, IWatchedMoviesStatsManager watchedMoviesStatsManager, IPopularMoviesManager popularMoviesManager, IWatchedMoviesManager watchedMoviesManager) : base(mapper, service, checker, yearStatisticManager, watchedMoviesStatsManager, popularMoviesManager, watchedMoviesManager) { }
public CompaniesController(ICompanyRepository _companyRepository, IMapper mapper, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { this._companyRepository = _companyRepository ?? throw new ArgumentException(nameof(CompanyRepository)); _mapper = mapper ?? throw new ArgumentException(nameof(mapper)); _propertyMappingService = propertyMappingService ?? throw new ArgumentException(nameof(propertyMappingService)); _propertyCheckerService = propertyCheckerService ?? throw new ArgumentException(nameof(propertyCheckerService)); }
public AuthorsController(ICourseLibraryRepository repository, IMapper mapper, IPropertyMappingService mappingService, IPropertyCheckerService checkerService) { mRepository = repository ?? throw new ArgumentNullException(nameof(repository)); mMapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); mMappingService = mappingService ?? throw new ArgumentNullException(nameof(mappingService)); mCheckerService = checkerService ?? throw new ArgumentNullException(nameof(checkerService)); }
public BaseService(IMapper mapper, HealthCare020DbContext dbContext, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService, IAuthService authService) { _mapper = mapper; _dbContext = dbContext; _propertyMappingService = propertyMappingService; _propertyCheckerService = propertyCheckerService; _authService = authService; }
public LicniPodaciService(IMapper mapper, HealthCare020DbContext dbContext, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService, IHttpContextAccessor httpContextAccessor, IAuthService authService, IFaceRecognitionService faceRecognitionService) : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService) { _faceRecognitionService = faceRecognitionService; }
public ZahtevZaPosetuService(IMapper mapper, HealthCare020DbContext dbContext, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService, IHttpContextAccessor httpContextAccessor, IAuthService authService, ISMSGateway smsGateway) : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService) { _smsGateway = smsGateway; }
public DogsForOwnerController(IOwnerRepository ownerRepository, IDogRepository dogRepository, IMapper mapper, IPropertyCheckerService propertyCheckerService) { _ownerRepository = ownerRepository; _dogRepository = dogRepository; _mapper = mapper; _propertyCheckerService = propertyCheckerService; }
public ArtistsController(IMusicPlayerRepository repository, IMapper mapper, IPropertyMappingService mappingService, IPropertyCheckerService propertyChecker) { this.repository = repository; this.mapper = mapper; this.mappingService = mappingService; this.propertyChecker = propertyChecker; }
/// <summary> /// 依赖注入:容器全权负责组件的装配,它会把符合依赖关系的对象通过构造函数传递给需要的对象。 /// 符合依赖倒置原则,高层模块不应该依赖低层模块,两者都应该依赖其抽象 /// </summary> /// <param name="companyRepository"></param> public CompaniesController(ICompanyRepository companyRepository, IMapper mapper, IEmployeeRepository employeeRepository, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { //dependency injection _companyRepository = companyRepository ?? throw new ArgumentNullException(nameof(companyRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _employeeRepository = employeeRepository ?? throw new ArgumentNullException(nameof(employeeRepository)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); _propertyCheckerService = propertyCheckerService ?? throw new ArgumentNullException(nameof(propertyCheckerService)); }
public UsersController(IUserRepository userRepository, IMapper mapper, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { _userRepository = userRepository; _mapper = mapper; _propertyMappingService = propertyMappingService; _propertyCheckerService = propertyCheckerService; }
public DogsController(IDogRepository dogRepository, IMapper mapper, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { _dogRepository = dogRepository; _mapper = mapper; _propertyMappingService = propertyMappingService; _propertyCheckerService = propertyCheckerService; }
public MenusController(IMapper mapper, IMenuRepository menuRepository, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { _mapper = mapper; _menuRepository = menuRepository; _propertyMappingService = propertyMappingService; _propertyCheckerService = propertyCheckerService; }
public DoktorService(IMapper mapper, HealthCare020DbContext dbContext, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService, IRadnikService radnikService, IHttpContextAccessor httpContextAccessor, IAuthService authService, IKorisnikService korisnikService) : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService) { _radnikService = radnikService; _korisnikService = korisnikService; }
// Notification controller public BaseController(IMapper mapper, IPropertyMappingService service, IPropertyCheckerService checker, INotificationManager notificationManager) { _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _service = service ?? throw new ArgumentNullException(nameof(service)); _servicePropertyChecker = checker ?? throw new ArgumentNullException(nameof(checker)); _notificationManager = notificationManager ?? throw new ArgumentNullException(nameof(notificationManager)); }
public PacijentNaLecenjuService(IMapper mapper, HealthCare020DbContext dbContext, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService, IHttpContextAccessor httpContextAccessor, IAuthService authService, ICRUDService <LicniPodaci, LicniPodaciDto, LicniPodaciDto, LicniPodaciResourceParameters, LicniPodaciUpsertDto, LicniPodaciUpsertDto> licniPodaciService) : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService) { _licniPodaciService = licniPodaciService; }