Example #1
0
 /// <summary>
 /// Creates a new backend data service object
 /// </summary>
 public BackendDataService()
 {
     this.backendWebApi = RestService.For <IBackendWebApi>(
         BaseUrl,
         new RefitSettings
     {
         ContentSerializer = new NewtonsoftJsonContentSerializer()
     });
 }
Example #2
0
        /// <summary>
        /// Creates a new index model
        /// </summary>
        public IndexModel()
        {
            this.backendWebApi = RestService.For <IBackendWebApi>(BaseUrl);

            this.LiveTrackingInfoList = new List <LiveTrackingInfo>
            {
                new LiveTrackingInfo
                {
                    Name = "TestPos Schliersee",
                    Uri  = "where-to-fly://TestPos/data"
                }
            };
        }
 /// <summary>
 /// Creates a new backend data service object
 /// </summary>
 public BackendDataService()
 {
     this.backendWebApi = RestService.For <IBackendWebApi>(BaseUrl);
 }