Ejemplo n.º 1
0
        public RestService(IDataManagerService dataManagerService, IFirebaseService firebaseService)
        {
            _dataManagerService = dataManagerService;
            _firebaseService    = firebaseService;

            _httpClient = new HttpClient();
        }
Ejemplo n.º 2
0
 public ChatViewModel(IWebRtcConnection webRtcConnection, ISignallingServerService signallingServerService,
                      IDataManagerService dataManagerService,
                      INavigationService navigationService)
 {
     _signallingServerService = signallingServerService;
     _webRtcConnection        = webRtcConnection;
     _dataManagerService      = dataManagerService;
     DataParametersList       = dataManagerService.DataParametersList;
     _navigationService       = navigationService;
 }
Ejemplo n.º 3
0
        public DataManagerController(IDataManagerService modelsDataService, ICheckIPService checkIPService)
        {
            _modelsDataService = modelsDataService;
            _checkIPService    = checkIPService;

            Get(GET_IPS_LIST,
                async noParams => await GetIPs());

            Post(CHECK_IP,
                 async ip => await CheckIP(this.Bind <Ip>()));
        }
Ejemplo n.º 4
0
 protected ConnectionBaseViewModel(IDataManagerService dataManagerService, IRestService restService) : base()
 {
     _restService        = restService;
     _dataManagerService = dataManagerService;
 }
Ejemplo n.º 5
0
        public UserPointsViewModel(IDataManagerService dataManagerService, IRestService restService) : base(dataManagerService, restService)
        {
            Title = AppResources.UserPoints;

            LoadPointsCommand = new Command(async() => await ExecuteLoadPointsCommand());
        }
 public AuthorCollectionController(IDataManagerService manager)
 {
     _manager = manager ?? throw new ArgumentNullException(nameof(manager));
 }
Ejemplo n.º 7
0
 public AuthorsController(IDataManagerService manager, IPropertyCheckerService propertyChecker, IMapper mapper)
 {
     _manager       = manager ?? throw new ArgumentNullException(nameof(manager));
     _mapper        = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _propertyCheck = propertyChecker ?? throw new ArgumentNullException(nameof(propertyChecker));
 }
 public UserInfoViewModel(IDataManagerService dataManagerService, IRestService restService) : base(dataManagerService, restService)
 {
     Title = AppResources.UserInfo;
 }
Ejemplo n.º 9
0
        public HomeViewModel(IDataManagerService dataManagerService, IRestService restService) : base(dataManagerService, restService)
        {
            Title = AppResources.Home;

            LoadIdeasCommand = new Command(async() => await ExecuteLoadIdeasCommand());
        }
Ejemplo n.º 10
0
 public CoursesController(IDataManagerService manager)
 {
     _manager            = manager ?? throw new ArgumentNullException(nameof(manager));
     _manager.Controller = this;
 }