public MainPageViewModel(ISpartaneFileService spartaneFileService, IProgressReportService progressReportService, ISpartaneUserService spartaneUserService, INavigationService navigationService, IUserDialogs userDialogsService, IConnectivity connectivity) : base(navigationService, userDialogsService, connectivity) { this.spartaneUserService = spartaneUserService; this.progressReportService = progressReportService; this.spartaneFileService = spartaneFileService; }
public SpartanFileService() { services = RestService.For <ISpartaneFileService>(new HttpClient(new HttpLoggingHandler(TokenManager.GetToken)) { BaseAddress = new Uri(AppConfiguration.Values.BaseUrl) }, new RefitSettings { JsonSerializerSettings = new JsonSerializerSettings { ContractResolver = new CustomResolver() } }); }
public SpartaneFileController(ISpartaneFileService service) { this.service = service; }