public DrinkRepository(DataContext context, IPropertyMappingService propertyMappingService) { _context = context; _propertyMappingService = propertyMappingService; }
public Employee(IData data, IMapper mapper, IPropertyMappingService propertyMapping) { this.data = data ?? throw new NullReferenceException(nameof(data)); this.mapper = mapper ?? throw new NullReferenceException(nameof(mapper)); this.propertyMapping = propertyMapping ?? throw new NullReferenceException(nameof(propertyMapping)); }
public BandsController(IBandAlbumRepository bandAlbumRepository, IMapper mapper, IPropertyMappingService propertyMappingService, IPropertyValidationService propertyValidationService) { _bandAlbumRepository = bandAlbumRepository ?? throw new ArgumentNullException(nameof(bandAlbumRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); _propertyValidationService = propertyValidationService ?? throw new ArgumentNullException(nameof(propertyValidationService)); }
public LibraryRepository(LibraryContext context, IPropertyMappingService propertyMappingService) { this.propertyMappingService = propertyMappingService; this.context = context; }
public SortCriteriaResolver(IPropertyMappingService propertyMappingService) { _propertyMappingService = propertyMappingService; }
public AuthorsController(ILibraryRepository libraryRepository, IUrlHelper urlHelper, IPropertyMappingService propertyMappingService, ITypeHelperService typeHelperService) { LibraryRepository = libraryRepository ?? throw new ArgumentNullException(nameof(libraryRepository)); UrlHelper = urlHelper ?? throw new ArgumentNullException(nameof(urlHelper)); PropertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); TypeHelperService = typeHelperService ?? throw new ArgumentNullException(nameof(typeHelperService)); }
public CourseLibraryRepository(CourseLibraryContext context, IPropertyMappingService propertyMappingService) { _context = context ?? throw new ArgumentNullException(nameof(context)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); }
public TouristRoutesController(ITouristRouteRepository touristRouteRepository, IMapper mapper, IUrlHelperFactory urlHelperFactory, IActionContextAccessor actionContextAccessor, IPropertyMappingService propertyMappingService) { _touristRouteRepository = touristRouteRepository; _mapper = mapper; _propertyMappingService = propertyMappingService; _urlHelper = urlHelperFactory.GetUrlHelper(actionContextAccessor.ActionContext); }
public DataManagerService(ICourseLibraryRepository repo, IMapper mapper, IUrlHelper urlHelper, IPropertyMappingService propertyMapper) { _repo = repo ?? throw new ArgumentNullException(nameof(repo)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _urlHelper = urlHelper; _propertyMapper = propertyMapper; _authorPropertyMapping = new Dictionary <string, PropertyMappingValue>(StringComparer.OrdinalIgnoreCase) { { "Id", new PropertyMappingValue(new List <string> { "Id" }) }, { "MainCategory", new PropertyMappingValue(new List <string> { "MainCategory" }) }, { "Age", new PropertyMappingValue(new List <string> { "DateOfBirth" }) }, { "Name", new PropertyMappingValue(new List <string> { "FirstName", "LastName" }) } }; _propertyMapper.Init <AuthorDto, Author>(_authorPropertyMapping); }
public AgencyRepository(DataContext context, IPropertyMappingService propertyMappingService) { _context = context ?? throw new ArgumentNullException(nameof(context)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); }
public AuthorsController(ILibraryRepository libraryRepository, IMapper mapper, IUrlHelper urlHelper, IPropertyMappingService propertyMappingService) { _libraryRepository = libraryRepository; _mapper = mapper; _urlHelper = urlHelper; _propertyMappingService = propertyMappingService; }
public EmployeesController(IMapper mapper, IEmployeeRepository employeeRepository, IPropertyMappingService propertyMappingService) : base(mapper) { _employeeRepository = employeeRepository; _propertyMappingService = propertyMappingService; }
public ServiceInfosController(IServiceInfosRepository serviceInfoRepository, IMapper mapper, IPropertyMappingService propertyMapping, IPropertyValidationService propertyValidation) { _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _serviceInfoRepository = serviceInfoRepository ?? throw new ArgumentNullException(nameof(serviceInfoRepository)); _propertyMapping = propertyMapping ?? throw new ArgumentNullException(nameof(propertyMapping)); _propertyValidation = propertyValidation ?? throw new ArgumentNullException(nameof(propertyValidation)); }
public UserRepository(ParkingContext context, IOptions <AppSettings> appSettings, IPropertyMappingService propertyMappingService) { _context = context; _appSettings = appSettings.Value; _propertyMappingService = propertyMappingService; }
public AuthorsController(ICourseLibraryRepository courseLibraryRepository, IMapper mapper, IPropertyMappingService propertyMappingService) { _courseLibraryRepository = courseLibraryRepository ?? throw new ArgumentNullException(nameof(courseLibraryRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); }
public EmployeeController(IEmployeeRepository employeeRepository, IRegistRepository registRepository, IMapper mapper, IPropertyMappingService propertyMappingService) { this._employeeRepository = employeeRepository ?? throw new ArgumentNullException(nameof(employeeRepository)); this._registRepository = registRepository ?? throw new ArgumentNullException(nameof(registRepository)); this._mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _propertyMappingService = propertyMappingService; }
public QueryableExtensionsTests() { _typeHelperService = new TypeHelperService(); _propertyMappingService = new PropertyMappingService(); _fixture = new Fixture(); }
public AuthorsController(ILibraryRepository libraryRepository, IUrlHelper urlHelper, IPropertyMappingService propertyMappingService, ITypeHelperService typeHelperService) { _libraryRepository = libraryRepository; _urlHelper = urlHelper; _propertyMappingService = propertyMappingService; _typeHelperService = typeHelperService; }
public CompanyRepository(RoutineDbContext context, IPropertyMappingService propertyMappingService) { _context = context ?? throw new ArgumentNullException(nameof(context)); _propertyMappingService = propertyMappingService; }
public UsersController(IStringLocalizer <UsersController> localizer, IUserService userService, Helpers.IUrlHelper urlHelper, IPropertyMappingService propertyMappingService, ISecurityService securityService, IMapper mapper) { this.userService = userService; this.urlHelper = urlHelper; this.propertyMappingService = propertyMappingService; this.securityService = securityService; this.mapper = mapper; this.localizer = localizer; }
public CompanyRespository(RoutineDbContext routineDbContext, IPropertyMappingService propertyMappingService) { this.routineDbContext = routineDbContext ?? throw new ArgumentNullException(nameof(routineDbContext)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); }
public LibraryRepository(LibraryDbContext _context, IPropertyMappingService _propertyMappingService) { context = _context; propertyMappingService = _propertyMappingService; }
public UserRepository(DatabaseContext ctx, IPropertyMappingService propertyMappingService) { context = ctx; this.propertyMappingService = propertyMappingService; }
public StoreDao(MyDbContext myDbContext, IPropertyCheckerService propertyCheckerService, IPropertyMappingService propertyMappingService) { this._context = myDbContext; this._propertyCheckerService = propertyCheckerService; this._propertyMappingService = propertyMappingService; }
public CommentRepository(DivingAPIContext context, IPropertyMappingService propertyMapping) { _context = context; _propertyMapping = propertyMapping; }
public UserController(IMapper mapper, IPropertyMappingService service, IPropertyCheckerService checker, IUserManager userManager, IFriendshipManager friendshipManager) : base(mapper, service, checker, userManager, friendshipManager) { }
public LibraryRepository(LibraryContext context, IPropertyMappingService propertyMappingService) { _context = context; _propertyMappingService = propertyMappingService; }
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(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)); }
public SongbookRepository(ILogger <SongbookRepository> logger, ISongbookDao songbookDao, ISongDao songDao, ICreatorDao creatorDao, IPropertyMappingService propertyMappingService) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _songbookDao = songbookDao ?? throw new ArgumentNullException(nameof(songbookDao)); _songDao = songDao ?? throw new ArgumentNullException(nameof(songDao)); _creatorDao = creatorDao ?? throw new ArgumentNullException(nameof(creatorDao)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); }