Esempio n. 1
0
        public BaseViewController()
        {
            _RestService = DependencyService.Get <INetworkInteraction>();

            _RestService.NetworkInteractionSucceeded += (sender, e) => NetworkInteractionSucceeded(sender, e);
            _RestService.NetworkInteractionFailed    += (sender, e) => NetworkInteractionFailed(sender, e);
            _RestService.NetworkCallInitialised      += (sender, e) => NetworkCallInitialised(sender, e);
            _RestService.NetworkCallCompleted        += (sender, e) => NetworkCallCompleted(sender, e);
        }
Esempio n. 2
0
 public RestService()
 {
     _Client = DependencyService.Get <INetworkInteraction>();
 }