public bool TryHandleNoWorkspaceError(Exception error)
        {
            if (error is NoWorkspaceException)
            {
                accessRestrictionStorage.SetNoWorkspaceStateReached(true);
                return(true);
            }

            return(false);
        }
Esempio n. 2
0
 public override void Close()
 {
     accessRestrictionStorage.SetNoWorkspaceStateReached(false);
     base.Close();
 }
Esempio n. 3
0
 private void close()
 {
     accessRestrictionStorage.SetNoWorkspaceStateReached(false);
     navigationService.Close(this, Unit.Default);
 }