Esempio n. 1
0
        async void Logout()
        {
            iFixit.Shared.UI.Services.UiStorage _storageService  = new iFixit.Shared.UI.Services.UiStorage();
            iFixit.W8.UI.Services.UiUx          _uxService       = new Services.UiUx();
            iFixit.W8.UI.Services.UiSettings    _settingsService = new Services.UiSettings();
            Domain.Services.V2_0.ServiceBroker  Broker           = new Domain.Services.V2_0.ServiceBroker(_settingsService.AppKey(), _settingsService.AppVersion());
            await Domain.Code.Utils.DoLogOut(_storageService, _uxService, Broker);

            await _uxService.ShowToast(International.Translation.LogoutSuccessfull);

            _uxService.DoLogOff();
        }
Esempio n. 2
0
        async void Logout()
        {
            iFixit.Shared.UI.Services.UiStorage _storageService = new iFixit.Shared.UI.Services.UiStorage();
            iFixit.W8.UI.Services.UiUx _uxService = new Services.UiUx();
            iFixit.W8.UI.Services.UiSettings _settingsService = new Services.UiSettings();
            Domain.Services.V2_0.ServiceBroker Broker = new Domain.Services.V2_0.ServiceBroker(_settingsService.AppKey(), _settingsService.AppVersion());
            await Domain.Code.Utils.DoLogOut(_storageService, _uxService, Broker);

            await _uxService.ShowToast(International.Translation.LogoutSuccessfull);
            _uxService.DoLogOff();
        }