예제 #1
0
 public LocationHelper(ILocationService locationSvc, WebService webService)
 {
     this.locationSvc = locationSvc;
     this.webService  = webService;
 }
예제 #2
0
 public NotificationsService(WebService webService)
 {
     this.webService = webService;
 }
예제 #3
0
        public LoginAndRegistrationLogic(FacebookService facebookService, Repository repository, WebService webservice, IKeyChain keyChain)
        {
            this.facebookService = facebookService;
            if (this.facebookService != null)
            {
                this.facebookService.LoginFailed     += (s, e) => { Device.BeginInvokeOnMainThread(facebookService_LoginFailed); };
                this.facebookService.LoginSuccessful += (s, e) => { Device.BeginInvokeOnMainThread(facebookService_LoginSuccessful); };
            }

            this.repository = repository;
            this.webservice = webservice;
            this.keyChain   = keyChain;

            this.webservice.AccessTokenExpired += webservice_AccessTokenExpired;
        }