Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new backend data service object
 /// </summary>
 public BackendDataService()
 {
     this.backendWebApi = RestService.For <IBackendWebApi>(
         BaseUrl,
         new RefitSettings
     {
         ContentSerializer = new NewtonsoftJsonContentSerializer()
     });
 }
Ejemplo n.º 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"
                }
            };
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a new backend data service object
 /// </summary>
 public BackendDataService()
 {
     this.backendWebApi = RestService.For <IBackendWebApi>(BaseUrl);
 }