public BarCodeController(IPartSetUpRepository partsetupRepository_, IUserSettingRepository usersettingsRepository_, ILanguageRepository languageRepository_, ITravelCardRepository travelCardRepository_)
 {
     _partsetupRepository    = partsetupRepository_;
     _usersettingsRepository = usersettingsRepository_;
     _languageRepository     = languageRepository_;
     _travelcardRepository   = travelCardRepository_;
 }
예제 #2
0
 public UserSetting(IUserSettingRepository repo)
 {
     _repo = repo;
     if (_state == null)
     {
         _state = repo.CreateUserSettingState();
     }
 }
예제 #3
0
 public AppService(IPageRepository pageRepository, IRolePageRepository rolePageRepository, IUserSettingRepository userSettingRepository,
                   ITenantLanguageRepository tenantLanguageRepository, IUserRoleRepository userRoleRepository)
 {
     _pageRepository           = pageRepository;
     _rolePageRepository       = rolePageRepository;
     _userSettingRepository    = userSettingRepository;
     _tenantLanguageRepository = tenantLanguageRepository;
     _userRoleRepository       = userRoleRepository;
 }
예제 #4
0
 public ApproveLogAppService(IApproveLogRepository alRepository,
                             IHREmployeeRepository userRepository,
                             ITeamRepository teamRepository,
                             IUserSettingRepository settingRepository)
 {
     _alRepository      = alRepository;
     _userRepository    = userRepository;
     _teamRepository    = teamRepository;
     _settingRepository = settingRepository;
 }
예제 #5
0
 public UserSettingService(IUserSettingRepository userSettingRepository, IUserService userService)
 {
     ExceptionHelper.ThrowIfTrue(userService == null, "userService", "用户uid不能为空");
     ExceptionHelper.ThrowIfNotId(userService.Uid, "uid", "用户uid不能为空");
     _UserSettingRepository = userSettingRepository;
     _UserService           = userService;
     _LazyUserSetting       = new Lazy <UserSetting>(() =>
     {
         return(_UserSettingRepository.Entities.Where(p => p.uid == _UserService.Uid).FirstOrDefault());
     });
 }
 public TravelCardController(IPartsRepository <Part> partsRepository_, IComponentsRepository <Component> componentsRepository_, IPartsRepository <Part> componentpartsRepository_, IPartSetUpRepository partsetupRespository_, IAdditionalProcessingRepository additionalprocessesRepository_, IPartSpecificationRepository partspecificationRepository_, IPartSpecificationRepository componentpartspecificationRepository_, IMeasurementMethodRepository measurementmethodRepository_, IPlantRepository plantRepository_, IUserSettingRepository usersettingRepository_, IMeasurementUnitRepository measurementUnitRepository_, IFrequencyRepository frequencyRepository_, ITravelCardRepository travelcardrepository_, ILanguageRepository languagerepository_, ITCBarCodeRepository tcbarcodeRepository_, IPartSpecificationSequenceRepository partspecificationsequenceRepository_)
 {
     _partsRepository                      = partsRepository_;
     _componentsRepository                 = componentsRepository_;
     _componentpartsRepository             = componentpartsRepository_;
     _partsetupRepository                  = partsetupRespository_;
     _additionalprocessesRepository        = additionalprocessesRepository_;
     _partspecificationRepository          = partspecificationRepository_;
     _partsetupRepository                  = partsetupRespository_;
     _componentpartspecificationRepository = componentpartspecificationRepository_;
     _measurementmethodRepository          = measurementmethodRepository_;
     _measurementunitRepository            = measurementUnitRepository_;
     _frequencyRepository                  = frequencyRepository_;
     _plantRepository                      = plantRepository_;
     _usersettingRepository                = usersettingRepository_;
     _travelcardRepository                 = travelcardrepository_;
     _languageRepository                   = languagerepository_;
     _tcbarcodeRepository                  = tcbarcodeRepository_;
     _partspecificationsequenceRepository  = partspecificationsequenceRepository_;
 }
예제 #7
0
 public HomeController(IUserSettingRepository userSettingRepo, INewsCategoryRepository newsCategoryRepo)
 {
     _userSettingRepo  = userSettingRepo;
     _newsCategoryRepo = newsCategoryRepo;
 }
예제 #8
0
 public UserSettingService(IUserSettingRepository userSettingRepository
                           )
 {
     this._userSettingRepository = userSettingRepository;
 }
예제 #9
0
 public UserSettings(IUserSettingRepository repo)
 {
     _repo = repo;
 }
예제 #10
0
 public UserSettingAppService(IUserSettingRepository usRepository, IHREmployeeRepository employeeRepository)
 {
     _usRepository       = usRepository;
     _employeeRepository = employeeRepository;
 }
예제 #11
0
 public UserSettingLogic(IUserSettingRepository repository) : base(repository)
 {
 }
예제 #12
0
 public UserSettingManager(IUserSettingRepository userSettingRepository)
 {
     _UserSettingRepository = userSettingRepository;
 }
예제 #13
0
 public UserSettingService(IUserSettingRepository userSettingRepository)
 {
     _userSettingsRepository = userSettingRepository;
 }
 public UserSettingsController(IUserSettingRepository userSettingRepository, IMapper mapper)
 {
     _userSettingRepository = userSettingRepository;
     _mapper = mapper;
 }
예제 #15
0
 public UserSettingsHelper(Guid accauntId, Guid userId, IUserSettingRepository repository)
 {
     _accountId  = accauntId;
     _userId     = userId;
     _repository = repository;
 }
 public UserSettingsController()
 {
     _objIUserSettings = new UserSettingsRepository();
 }
예제 #17
0
 public UserSetting(IUserSettingRepository repo, IUserSettingState state) : this(repo)
 {
     _state = state;
 }
 public UserProfileController(IPlantRepository plantRepository_, IUserSettingRepository usersettingRepository_, ILanguageRepository languageRepository_)
 {
     _plantRepository       = plantRepository_;
     _usersettingRepository = usersettingRepository_;
     _languageRepository    = languageRepository_;
 }
예제 #19
0
 public UserSettingController(IUserSettingRepository userSettingRepository)
 {
     _userSettingRepository = userSettingRepository;
 }