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

            _monkeyService = monkeyService;
        }
Exemplo n.º 3
0
        public Search()
        {
            InitializeComponent();
            _monkeyService = new MonkeyService();
            _configService = new ConfigService();

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

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

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

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