Exemple #1
0
        private void InitServices()
        {
            _dispatchService = IocContainer.GetContainer().Resolve <IDispatcherService>() as DispatcherService;

            _navigationService = IocContainer.GetContainer().Resolve <IExtendedNavigationService>() as ExtendedNavigationService;

            _dialogService = IocContainer.GetContainer().Resolve <IExtendedDialogService>() as ExtendedDialogService;

            _hudService = IocContainer.GetContainer().Resolve <IHudService>() as HudService;

            _browserService = IocContainer.GetContainer().Resolve <IBrowserService>() as BrowserService;

            _geoLocator = IocContainer.GetContainer().Resolve <IGeolocator>() as Geolocator;

            _connectivityService = IocContainer.GetContainer().Resolve <IConnectivityService>() as ConnectivityService;

            _phoneService = IocContainer.GetContainer().Resolve <IPhoneService>() as PhoneService;

            _mapService = IocContainer.GetContainer().Resolve <IMapService>() as MapService;

            _emailService = IocContainer.GetContainer().Resolve <IEmailService>() as EmailService;

            _twitterHelper = IocContainer.GetContainer().Resolve <ITwitterHelper>() as AndroidTwitterHelper;

            _facebookHelper = IocContainer.GetContainer().Resolve <IFacebookHelper>() as AndroidFacebookHelper;
        }
Exemple #2
0
        private void InitServices()
        {
            _dispatchService = IocContainer.GetContainer().Resolve<IDispatcherService>() as DispatcherService;

            _navigationService = IocContainer.GetContainer().Resolve<IExtendedNavigationService>() as ExtendedNavigationService;

            _dialogService = IocContainer.GetContainer().Resolve<IExtendedDialogService>() as ExtendedDialogService;

            _hudService = IocContainer.GetContainer().Resolve<IHudService>() as HudService;

            _browserService = IocContainer.GetContainer().Resolve<IBrowserService>() as BrowserService;

            _geoLocator = IocContainer.GetContainer().Resolve<IGeolocator>() as Geolocator;

            _connectivityService = IocContainer.GetContainer().Resolve<IConnectivityService>() as ConnectivityService;

            _phoneService = IocContainer.GetContainer().Resolve<IPhoneService>() as PhoneService;

            _mapService = IocContainer.GetContainer().Resolve<IMapService>() as MapService;

            _emailService = IocContainer.GetContainer().Resolve<IEmailService>() as EmailService;

            _twitterHelper = IocContainer.GetContainer().Resolve<ITwitterHelper>() as AndroidTwitterHelper;

            _facebookHelper = IocContainer.GetContainer().Resolve<IFacebookHelper>() as AndroidFacebookHelper;
        }