Beispiel #1
0
 public TipViewModel(IMvxNavigationService navigationService, ICalculationService calculationService, IMonkeyService monkeyService)
 {
     _calculationService = calculationService;
     CommandShowList     = new MvxAsyncCommand(asyc => CommandShowListFunction());
     _navigationService  = navigationService;
     _monkeyService      = monkeyService;
 }
Beispiel #2
0
        public MainPageViewModel(INavigationService navigationService, IMonkeyService monkeyService)
            : base(navigationService)
        {
            Title = "Monkeys Horizontal List";

            _monkeyService = monkeyService;
        }
Beispiel #3
0
        public Search()
        {
            InitializeComponent();
            _monkeyService = new MonkeyService();
            _configService = new ConfigService();

            this.dataGridView_monkeys.AutoGenerateColumns = false;
        }
Beispiel #4
0
        public AutoXiulianForm()
        {
            InitializeComponent();
            _configService = new ConfigService();
            var config = _configService.ReadConfig();

            _monkeyService = new MonkeyService(config.BaseApiUrl, config.BaseUrl);
        }
Beispiel #5
0
        public Search()
        {
            InitializeComponent();
            _configService = new ConfigService();
            var config = _configService.ReadConfig();

            _monkeyService = new MonkeyService(config.BaseApiUrl, config.BaseUrl);

            this.dataGridView_monkeys.AutoGenerateColumns = false;
        }
Beispiel #6
0
 public ViewModelBase()
 {
     NavigationService = Locator.Instance.Resolve <INavigationService>();
     MonkeyService     = Locator.Instance.Resolve <IMonkeyService>();
 }
 public AutoXiulianForm()
 {
     InitializeComponent();
     _configService = new ConfigService();
     _monkeyService = new MonkeyService();
 }
 public MonkeyDetailForm()
 {
     InitializeComponent();
     _monkeyService = new MonkeyService();
     _configService = new ConfigService();
 }
Beispiel #9
0
 public TextModule(IMonkeyService monkeyService)
 {
     _monkeyService = monkeyService;
 }