Ejemplo n.º 1
0
 public void ShouldWriteLogMessagesBasic()
 {
     LogFns.DebugWriteLine("Testing LogFns.DebugWriteLine");
     LogFns.DebugWriteLineIf(true, "Testing LogFns.DebugWriteLineIf");
     LogFns.TraceWriteLine("Testing LogFns.TraceWriteLine");
     LogFns.TraceWriteLineIf(true, "Testing LogFns.TraceWriteLineIf");
 }
Ejemplo n.º 2
0
        public async void Logout()
        {
            var home = GetHomeScreen();

            LogFns.DebugWriteLineIf(home == null, "No workspace marked as default.");
            if (home == null)
            {
                return;
            }

            await NavigateToWorkspace(home);

            await _authenticationService.LogoutAsync();

            await Login();
        }