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

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