Пример #1
0
        public RestDemoViewModel(IMvxNavigationService navigationService
                                 , IMvxJsonConverter mvxJsonConverter
                                 , IRestClient restClient
                                 , IMvxRestClient mvxRestClient
                                 , IMvxJsonRestClient mvxJsonRestClient
                                 , IHttpService httpService
                                 , IBaseHttpService baseHttpService)
        {
            _navigationService = navigationService;

            _mvxJsonConverter  = mvxJsonConverter;
            _restClient        = restClient;
            _mvxRestClient     = mvxRestClient;
            _mvxJsonRestClient = mvxJsonRestClient;

            _httpSvc     = httpService;
            _baseHttpSvc = baseHttpService;

            //var items = _artistService.GetAll();
            //Items = new MvxObservableCollection<Artist>();
            //_items.AddRange(items);
        }
 public JsonWebPropertySearch(IMarshalInvokeService marshal, IMvxRestClient restClient)
 {
     _marshal = marshal;
     _restClient = restClient;
 }
 public JsonWebPropertySearch(IMarshalInvokeService marshal, IMvxRestClient restClient)
 {
     _marshal    = marshal;
     _restClient = restClient;
 }