コード例 #1
0
 public SetupService(ISetupRepository setupRepository, IUserService userService, ISettingsManager settingsManager, IProfileService profileService)
 {
     _setupRepository = setupRepository;
     _userService     = userService;
     _settingsManager = settingsManager;
     _profileService  = profileService;
 }
コード例 #2
0
ファイル: SetupService.cs プロジェクト: andyliyuze/POPForums
		public SetupService(ISetupRepository setupRepository, IUserService userService, ISettingsManager settingsManager, IProfileService profileService)
		{
			_setupRepository = setupRepository;
			_userService = userService;
			_settingsManager = settingsManager;
			_profileService = profileService;
		}
コード例 #3
0
        public SetupPresenter(ISetupView SetupView)
        {
            this._setupForm  = SetupView;
            _setupRepository = new SetupRepository();
            _downloadFile    = new DownloadFile();
            _firmUpdata      = new FirmUpdata();
            bluetooth        = BLECode.GetIntance;

            bluetooth.ValueChanged += Bluetooth_ValueChanged;

            _setupForm.FirmwareUpdata += FirmwareUpdata_InSetup;
            _setupForm.SoftwareUpdata += SoftwareUpdata_InSetup;

            _downloadFile.ProgressSer      += this.ProgressSer_ValueChanged;
            _downloadFile.StateTextChanged += this.StateText_ValueChanged;

            _firmUpdata.ProgressUp += this.ProgressUp_ValueChanged;
        }
コード例 #4
0
 public SetupController(ISetupRepository setupRepository)
 {
     _setupRepository = setupRepository;
 }
コード例 #5
0
 public SetupService(IValidationDictonary dictonary, ISetupRepository repository)
 {
     Validator  = dictonary;
     Repository = repository;
 }
コード例 #6
0
 public customerController(ISetupRepository _setupRepo,
                           ICustomerRepository _repo)
 {
     this.setupRepo = _setupRepo;
     this.repo      = _repo;
 }
コード例 #7
0
 public UsersController(IUserRepository userRepository, IMapper mapper, ISetupRepository setupRepository)
 {
     _setupRepository = setupRepository;
     _mapper          = mapper;
     _userRepository  = userRepository;
 }
コード例 #8
0
 public AccountRepository(ISetupRepository setupRepository)
 {
     _setupRepository = setupRepository;
     _accounts        = _setupRepository.Initialize();
 }
コード例 #9
0
 public OrderListingController(IOrderListingRepository orderListRepository, ISetupRepository setup)
 {
     _orderListRepository = orderListRepository;
     this.setup           = setup;
 }
コード例 #10
0
 public SetupsController(IMapper mapper, ISetupRepository setupRepository)
 {
     _setupRepository = setupRepository;
     _mapper          = mapper;
 }
コード例 #11
0
 public SetupServices(ISetupRepository setupRepository)
 {
     _setupRepository = setupRepository;
 }
コード例 #12
0
 public SetupController(IMapper _mapper, ISetupRepository _repository)
 {
     mapper     = _mapper;
     repository = _repository;
 }