Ejemplo n.º 1
0
 public Handler(IPhotoAccessor photoAccessor, IUnitOfWork unitOfWork,
                IMapperHelper mapperHelper, IUserAccessor userAccessor)
 {
     _photoAccessor = photoAccessor;
     _unitOfWork    = unitOfWork;
     _mapperHelper  = mapperHelper;
     _userAccessor  = userAccessor;
 }
Ejemplo n.º 2
0
 public SearchViewModel(SearchedFaceitUserModel faceitUser, IApiHelper api, IMapperHelper mapperHelper, SearchEvent searchEvent, SearchedUserModel searchedUser)
 {
     _searchedFaceitUser = faceitUser;
     _api          = api;
     _mapperHelper = mapperHelper;
     _searchEvent  = searchEvent;
     _searchedUser = searchedUser;
 }
Ejemplo n.º 3
0
 public UserService(IDal dal, IMapperHelper mapperHelper, IAuthenticationService authenticationService,
                    ICustomEncoder customEncoder)
 {
     _dal                   = dal;
     _mapperHelper          = mapperHelper;
     _authenticationService = authenticationService;
     _customEncoder         = customEncoder;
 }
Ejemplo n.º 4
0
 public PrintingEditionService(IPrintingEditionRepository printingEditionRepository, IAuthorInPrintingEditionRepository authorInPrintingEditionRepository,
                               IMapperHelper mapperHelper, ICurrencyConverterHelper currencyConverterHelper)
 {
     _printingEditionRepository         = printingEditionRepository;
     _authorInPrintingEditionRepository = authorInPrintingEditionRepository;
     _mapperHelper            = mapperHelper;
     _currencyConverterHelper = currencyConverterHelper;
 }
Ejemplo n.º 5
0
 public Handler(IUnitOfWork unitOfWork,
                IJwtGenerator jwtGenerator, UtilFactory utilFactory, IMapperHelper mapperHelper)
 {
     _unitOfWork   = unitOfWork;
     _jwtGenerator = jwtGenerator;
     _cryptoHelper = utilFactory.CryptoHelper;
     _mapperHelper = mapperHelper;
 }
 public WargamingApiClient(
     IRequestBuilder requestBuilder,
     IMapperHelper mapper,
     WebApiClient webApiClient)
 {
     _requestBuilder = requestBuilder;
     _mapper         = mapper;
     _webApiClient   = webApiClient;
 }
Ejemplo n.º 7
0
 public SearchLocationsController(IUserService userService, IAuthenticationService authenticationService,
                                  ICustomEncoder customEncoder, IMapperHelper mapperHelper, ISearchLocationService searchLocationService)
 {
     _userService           = userService;
     _authenticationService = authenticationService;
     _customEncoder         = customEncoder;
     _mapperHelper          = mapperHelper;
     _searchLocationService = searchLocationService;
 }
Ejemplo n.º 8
0
 public OrderService(IOrderRepository orderRepository, IUserRepository userRepository, IMapperHelper mapperHelper, ICurrencyConverterHelper currencyConverterHelper,
                     IPaymentRepository paymentRepository, IOrderItemRepository orderItemRepository)
 {
     _orderRepository         = orderRepository;
     _userRepository          = userRepository;
     _mapperHelper            = mapperHelper;
     _currencyConverterHelper = currencyConverterHelper;
     _paymentRepository       = paymentRepository;
     _orderItemRepository     = orderItemRepository;
 }
 public LoginController(IUserService userService, IAuthenticationService authenticationService,
                        ICustomEncoder customEncoder, IMapperHelper mapperHelper,
                        ILogger <UsersController> logger)
 {
     _userService           = userService;
     _authenticationService = authenticationService;
     _customEncoder         = customEncoder;
     _mapperHelper          = mapperHelper;
     _logger = logger;
 }
 public MessagesController(IMessageService messageService, IUserService userService,
                           IAuthenticationService authenticationService,
                           ICustomEncoder customEncoder, IMapperHelper mapperHelper)
 {
     _messageService        = messageService;
     _userService           = userService;
     _authenticationService = authenticationService;
     _customEncoder         = customEncoder;
     _mapperHelper          = mapperHelper;
 }
 public PersonalitiesDetailsController(IUserService userService,
                                       IAuthenticationService authenticationService,
                                       ICustomEncoder customEncoder, IMapperHelper mapperHelper, IPersonalityService personalityService)
 {
     _userService           = userService;
     _authenticationService = authenticationService;
     _customEncoder         = customEncoder;
     _mapperHelper          = mapperHelper;
     _personalityService    = personalityService;
 }
 public TargetLocationsController(IUserService userService,
                                  IAuthenticationService authenticationService,
                                  ICustomEncoder customEncoder, IMapperHelper mapperHelper, ITargetLocationService targetLocationService)
 {
     _userService           = userService;
     _authenticationService = authenticationService;
     _customEncoder         = customEncoder;
     _mapperHelper          = mapperHelper;
     _targetLocationService = targetLocationService;
 }
Ejemplo n.º 13
0
 public AccountService(IUserRepository userRepository, IPasswordHelper passwordHelper, IEmailHelper emailHelper,
                       IMapperHelper mapperHelper, IConfiguration configuration, IOptions <EmailConfig> emailConfig)
 {
     _userRepository = userRepository;
     _passwordHelper = passwordHelper;
     _emailHelper    = emailHelper;
     _mapperHelper   = mapperHelper;
     _configuration  = configuration;
     _emailConfig    = emailConfig;
 }
Ejemplo n.º 14
0
 public UsersController(IUserService userService, IAuthenticationService authenticationService,
                        ICustomEncoder customEncoder, IMapperHelper mapperHelper,
                        ILogger <UsersController> logger, RentTogetherDbContext rentTogetherDbContext)
 {
     _userService           = userService;
     _authenticationService = authenticationService;
     _customEncoder         = customEncoder;
     _mapperHelper          = mapperHelper;
     _logger = logger;
     _rentTogetherDbContext = rentTogetherDbContext;
 }
Ejemplo n.º 15
0
 public LoginViewModel(
     ISqlHelper sqlHelper,
     LogOnEvent logOnEvent,
     IValidateHelper validate,
     IFaceitApi api,
     UserModel user,
     IMapper mapper,
     IMapperHelper mapperHelper,
     FaceitUserModel faceitUser)
 {
     _sqlHelper    = sqlHelper;
     _logOnEvent   = logOnEvent;
     _validate     = validate;
     _api          = api;
     _user         = user;
     _mapper       = mapper;
     _faceitUser   = faceitUser;
     _mapperHelper = mapperHelper;
 }
Ejemplo n.º 16
0
        private static void RunConfig(IMapperConfigurationExpression cfg)
        {
            var assemblies = Config.MappedAssemblies.SelectMany(x => x.Value).ToArray();

            var target = typeof(IMapperHelper);

            foreach (var item in assemblies)
            {
                var maps = item
                           .GetTypes()
                           .Where(t =>
                                  t != target &&
                                  target.IsAssignableFrom(t)
                                  ).ToList();

                foreach (var map in maps)
                {
                    IMapperHelper obj = Activator.CreateInstance(map) as IMapperHelper;
                    Trace.WriteLine($"[automapper] Loading map '{ map.Name }'...");
                    obj.Config(cfg);
                }
            }
        }
 public PersAccountCategoryManager(IMapperHelper mapperManagerParam)
 {
     _mapperManager = mapperManagerParam;
     _scriptor      = new RateScriptor();
 }
 public IncomeAndExpenditureApiToServiceConverter(IMapperHelper mapperHelper, IMapper mapper)
 {
     this._mapperHelper = mapperHelper;
     this._mapper       = mapper;
 }
Ejemplo n.º 19
0
 public UserActivityHelper(IUnitOfWork unitOfWork, IUserAccessor userAccessor, IMapperHelper mapperHelper)
 {
     _unitOfWork   = unitOfWork;
     _userAccessor = userAccessor;
     _mapperHelper = mapperHelper;
 }
 public AccountToMyAccountsDetailVmConverter(IMapperHelper mapperHelper, IMapper mapper, PortalSetting portalSettings)
 {
     _mapperHelper   = mapperHelper;
     _mapper         = mapper;
     _portalSettings = portalSettings;
 }
Ejemplo n.º 21
0
 public UtilFactory(ICryptoHelper cryptoHelper, AppConfigHelper appConfigHelper, IMapperHelper mapperHelper)
 {
     CryptoHelper    = cryptoHelper;
     AppConfigHelper = appConfigHelper;
     MapperHelper    = mapperHelper;
 }
Ejemplo n.º 22
0
 public PlanController(PlanManagerBase planManagerParam, IMapperHelper mapperManagerParam)
 {
     _planManager   = planManagerParam;
     _mapperManager = mapperManagerParam;
 }
 public AuthenticationService(IConfiguration configuration, IMapperHelper mapperHelper, IDal dal)
 {
     _configuration = configuration;
     _mapperHelper  = mapperHelper;
     _dal           = dal;
 }
Ejemplo n.º 24
0
 public ProfileReader(IUnitOfWork unitOfWork, IMapperHelper mapperHelper, IUserAccessor userAccessor)
 {
     _unitOfWork   = unitOfWork;
     _mapperHelper = mapperHelper;
     _userAccessor = userAccessor;
 }
Ejemplo n.º 25
0
 public Handler(IUnitOfWork unitOfWork, IProfileReader profileReader, IMapperHelper mapperHelper)
 {
     _unitOfWork    = unitOfWork;
     _profileReader = profileReader;
 }
Ejemplo n.º 26
0
 public StatisticManagerBase()
 {
     _rateManager   = new PBCurrenciesManager();
     _mapperManager = DIManager.MapperHelper;
 }
Ejemplo n.º 27
0
 public EFDBManager()
 {
     _mapperManager = DIManager.MapperHelper;
 }
Ejemplo n.º 28
0
 public UserService(IUserRepository userRepository, IMapperHelper mapperHelper)
 {
     _userRepository = userRepository;
     _mapperHelper   = mapperHelper;
 }
Ejemplo n.º 29
0
 public Handler(IUnitOfWork unitOfWork, IMapperHelper mapperHelper)
 {
     _unitOfWork   = unitOfWork;
     _mapperHelper = mapperHelper;
 }
Ejemplo n.º 30
0
 public AuthorService(IAuthorRepository authorRepository, IAuthorInPrintingEditionRepository authorInPrintingEditionRepository, IMapperHelper mapperHelper)
 {
     _authorRepository = authorRepository;
     _authorInPrintingEditionRepository = authorInPrintingEditionRepository;
     _mapperHelper = mapperHelper;
 }