Ejemplo n.º 1
0
 public ImportUsersToExcelJob(
     RoleManager roleManager,
     IUserListExcelDataReader userListExcelDataReader,
     IInvalidUserExporter invalidUserExporter,
     IUserPolicy userPolicy,
     IEnumerable <IPasswordValidator <User> > passwordValidators,
     IPasswordHasher <User> passwordHasher,
     IAppNotifier appNotifier,
     IRepository <Shift> shiftRepository,
     IRepository <OrganizationUnitExtended, long> organizationUnitRepository,
     IRepository <User, long> userRepository,
     IBinaryObjectManager binaryObjectManager,
     ILocalizationManager localizationManager,
     IObjectMapper objectMapper)
 {
     _roleManager             = roleManager;
     _userRepository          = userRepository;
     _userListExcelDataReader = userListExcelDataReader;
     _invalidUserExporter     = invalidUserExporter;
     _userPolicy = userPolicy;
     _organizationUnitRepository = organizationUnitRepository;
     _shiftRepository            = shiftRepository;
     _passwordValidators         = passwordValidators;
     _passwordHasher             = passwordHasher;
     _appNotifier         = appNotifier;
     _binaryObjectManager = binaryObjectManager;
     _objectMapper        = objectMapper;
     _localizationSource  = localizationManager.GetSource(AttendanceConsts.LocalizationSourceName);
 }
 public ImportUsersToExcelJob(
     RoleManager roleManager,
     IUserListExcelDataReader userListExcelDataReader,
     IInvalidUserExporter invalidUserExporter,
     IUserPolicy userPolicy,
     IEnumerable <IPasswordValidator <User> > passwordValidators,
     IPasswordHasher <User> passwordHasher,
     IAppNotifier appNotifier,
     IBinaryObjectManager binaryObjectManager,
     ILocalizationManager localizationManager,
     IObjectMapper objectMapper)
 {
     _roleManager             = roleManager;
     _userListExcelDataReader = userListExcelDataReader;
     _invalidUserExporter     = invalidUserExporter;
     _userPolicy          = userPolicy;
     _passwordValidators  = passwordValidators;
     _passwordHasher      = passwordHasher;
     _appNotifier         = appNotifier;
     _binaryObjectManager = binaryObjectManager;
     _objectMapper        = objectMapper;
     _localizationSource  = localizationManager.GetSource(PhoneBookDemoConsts.LocalizationSourceName);
 }
Ejemplo n.º 3
0
 public ImportUsersToExcelJob(
     RoleManager roleManager,
     IUserListExcelDataReader userListExcelDataReader,
     IInvalidUserExporter invalidUserExporter,
     IUserPolicy userPolicy,
     IEnumerable <IPasswordValidator <User> > passwordValidators,
     IPasswordHasher <User> passwordHasher,
     IAppNotifier appNotifier,
     IBinaryObjectManager binaryObjectManager,
     IObjectMapper objectMapper,
     IUnitOfWorkManager unitOfWorkManager)
 {
     _roleManager             = roleManager;
     _userListExcelDataReader = userListExcelDataReader;
     _invalidUserExporter     = invalidUserExporter;
     _userPolicy          = userPolicy;
     _passwordValidators  = passwordValidators;
     _passwordHasher      = passwordHasher;
     _appNotifier         = appNotifier;
     _binaryObjectManager = binaryObjectManager;
     _objectMapper        = objectMapper;
     _unitOfWorkManager   = unitOfWorkManager;
 }
        public ImportUsersToExcelJob(
            RoleManager roleManager,
            IUserListExcelDataReader userListExcelDataReader,
            IInvalidUserExporter invalidUserExporter,
            IUserPolicy userPolicy,
            IEnumerable <IPasswordValidator <User> > passwordValidators,
            IPasswordHasher <User> passwordHasher,


            ILocalizationManager localizationManager,
            IObjectMapper objectMapper, IDataFileObjectManager dataFileObjectManager, IAppMessage appMessage)
        {
            _roleManager             = roleManager;
            _userListExcelDataReader = userListExcelDataReader;
            _invalidUserExporter     = invalidUserExporter;
            _userPolicy         = userPolicy;
            _passwordValidators = passwordValidators;
            _passwordHasher     = passwordHasher;

            _objectMapper          = objectMapper;
            _dataFileObjectManager = dataFileObjectManager;
            _appMessage            = appMessage;
            _localizationSource    = localizationManager.GetSource(AppConsts.LocalizationSourceName);
        }