public SummonerService(ISummonerRepository summonerRepository, ILeagueApiService apiService, IRegionRepository regionRepository, IModelMapper<Summoner, SummonerModel> summonerModelMapper, ISecureTokenGenerator secureTokenGenerator) { _summonerRepository = summonerRepository; _apiService = apiService; _regionRepository = regionRepository; _summonerModelMapper = summonerModelMapper; _secureTokenGenerator = secureTokenGenerator; }
public AutoMappedViewResult(IModelMapper modelMapper, object sourceEntity, Type viewModelType) { _modelMapper = modelMapper; SourceEntity = sourceEntity; ViewModelType = viewModelType; }
public DownloadModelFactory(IModelMapper modelMapper) { _modelMapper = modelMapper; }
public EntitySearch(IContext context, IModelMapper <TModel> mapper, IEntitySearchFormatter <TModel> searchFormatter) { _context = context; _mapper = mapper; _searchFormatter = searchFormatter; }
public EventController(ITimelineRepository timelineRepository, IModelMapper mapper, IRepository<Event> eventRepository) { _timelineRepository = timelineRepository; _eventRepository = eventRepository; _mapper = mapper; }
public AllBooksQueryHandler( IDotNetCoreKatasDbContext dbContext, IModelMapper <BookDomainModel, BookReadModel> mapper) : base(dbContext, mapper) { }
public HomeController(IModelMapper modelMapper) { _modelMapper = modelMapper; }
public BooksController(IEntityRepository <BookEntity, BookFilter> repository, IModelMapper <BookEntity, Book> modelMapper, IPagingLinksFactory <BookFilter> pagingLinksFactory, IMemoryCache memoryCache) : base(repository, modelMapper, pagingLinksFactory, memoryCache, "Books") { }
public AccountController(IRepository<Account> accountRepository, ITimelineRepository timelineRepository, IModelMapper mapper) { _accountRepository = accountRepository; _mapper = mapper; _timelineRepository = timelineRepository; }
public ManufacturersController(IManufacturerService manufacturerService, IModelMapper modelMapper, IDataSerializer dataSerializer) { _manufacturerService = manufacturerService; _modelMapper = modelMapper; _dataSerializer = dataSerializer; }
public PressReleaseController(IViewPathResolver viewPathResolver, IModelMapper modelMapper) : base(viewPathResolver, modelMapper) { }
public AuthService(UserManager <User> userManager, SignInManager <User> signInManager, TechschoolContext context, RoleManager <IdentityRole> roleManager, IModelMapper modelMapper) { this.userManager = userManager; this.signInManager = signInManager; this.context = context; this.roleManager = roleManager; this.modelMapper = modelMapper; }
public RoleService(ApplicationDbContext context, IModelMapper mapper) : base(context, mapper) { }
public BaseService(ApplicationDbContext context, IModelMapper mapper) { _context = context; _mapper = mapper; }
public IDraftApprenticeshipDetailsViewModelMapper(ICommitmentsApiClient commitmentsApiClient, IModelMapper modelMapper) { _commitmentsApiClient = commitmentsApiClient; _modelMapper = modelMapper; }
private DynamicMethodModelFactory CreateFactory(IModelMapper modelMapper) { DynamicMethodModelFactory factory = new DynamicMethodModelFactory(new DatabaseMapper(modelMapper)); return(factory); }
public UploadItemFormController() { ModelMapper = DependencyResolver.Current.GetService <IModelMapper>(); }
public AvailableAttributesController(IAvailableAttributeService availableAttributeService, IAvailableAttributeValueService availableAttributeValueService, IModelMapper modelMapper, IDataSerializer dataSerializer) { _availableAttributeService = availableAttributeService; _availableAttributeValueService = availableAttributeValueService; _modelMapper = modelMapper; _dataSerializer = dataSerializer; }
public AccountService(UserManager <User> userManager, IOptions <AuthSettings> authSettings, IModelMapper mapper) { _userManager = userManager; _authSettings = authSettings.Value; _mapper = mapper; }
public WarehouseController(IWarehouseService warehouseService, IWarehouseModelFactory warehouseModelFactory, IAddressService addressService, IModelMapper modelMapper, CatalogSettings catalogSettings) { _warehouseService = warehouseService; _warehouseModelFactory = warehouseModelFactory; _addressService = addressService; _modelMapper = modelMapper; _catalogSettings = catalogSettings; }
public ApprenticeshipUpdateController(IMediator mediator, IModelMapper modelMapper) { _mediator = mediator; _modelMapper = modelMapper; }
public GdprModelFactory(IModelMapper modelMapper) { _modelMapper = modelMapper; }
public EmployeeService(IEmployeeRepository repository, IModelMapper modelMapper) : base(repository, modelMapper) { }
public BooksController(IModelService <IBook, BookFilter> modelService, IModelMapper <IBook, Book> modelMapper, IPagingLinksFactory <BookFilter> pagingLinksFactory) : base(modelService, modelMapper, pagingLinksFactory) { }
public CategoryService(ApplicationDbContext context, IModelMapper mapper) : base(context, mapper) { }
public ModelMapper() { modelMapper = (IModelMapper <T>)Activator.CreateInstance(typeof(T), new object[] { }); }
public EntitySearch(IContext context, IModelMapper <TModel> mapper) { _context = context; _mapper = mapper; }
public ModelMapper(HttpRequestMessage request) { modelMapper = (IModelMapper <T>)Activator.CreateInstance(typeof(T), new object[] { request }); }
public ReviewsController(IReviewService reviewService, IOrderService orderService, CatalogSettings catalogSettings, IModelMapper modelMapper, IProductService productService, IProductModelFactory productModelFactory, IReviewModelFactory reviewModelFactory) { _reviewService = reviewService; _orderService = orderService; _catalogSettings = catalogSettings; _modelMapper = modelMapper; _productService = productService; _productModelFactory = productModelFactory; _reviewModelFactory = reviewModelFactory; }
public HeadingController(IViewPathResolver viewPathResolver, IModelMapper modelMapper) : base(viewPathResolver, modelMapper) { }
public AddressModelFactory(IModelMapper modelMapper) { _modelMapper = modelMapper; }
/// <summary> /// Creates a new instance of PageHeaderScriptsController /// </summary> /// <param name="modelMapper">The IModelMapper instance to use for Item to Model mapping, usually supplied through Dependency Injection.</param> public PageHeaderScriptsController(IModelMapper modelMapper) : base(modelMapper) { }
/// <summary> /// Creates a new instance of BranchNavigationRepository /// </summary> /// <param name="modelMapper">The instance of IModelMapper to use for mapping Item fields to model properties, usually provided by dependency injection.</param> public BranchNavigationRepository(IModelMapper modelMapper) { ModelMapper = modelMapper; }
public EmailsController(IEmailTemplateService emailTemplateService, IEmailAccountService emailAccountService, IModelMapper modelMapper, EmailSenderSettings emailSenderSettings, ISettingService settingService, IEmailSender emailSender, IDataSerializer dataSerializer, ICryptographyService cryptographyService, IEmailService emailService) { _emailTemplateService = emailTemplateService; _emailAccountService = emailAccountService; _modelMapper = modelMapper; _emailSenderSettings = emailSenderSettings; _settingService = settingService; _emailSender = emailSender; _dataSerializer = dataSerializer; _cryptographyService = cryptographyService; _emailService = emailService; }
public ContentController(IModelMapper<MvcAreasItem, ContentViewModel> modelMapper) { Assert.ArgumentNotNull(modelMapper, "modelMapper"); this.modelMapper = modelMapper; }
public RegionService(IRegionRepository regionRepository, IModelMapper<Region, RegionModel> regionModelMapper) { _regionRepository = regionRepository; _regionModelMapper = regionModelMapper; }