Наследование: BaseIObservable
Пример #1
0
 public BooruBoard(BooruBoard board)
 {
     URL = board.URL;
     Name = board.Name;
     Password = board.Password;
     UserName = board.UserName;
     ProviderType = board.ProviderType;
     PasswordSalt = board.PasswordSalt;
 }
Пример #2
0
 public BooruBoard(BooruBoard board)
 {
     URL          = board.URL;
     Name         = board.Name;
     Password     = board.Password;
     UserName     = board.UserName;
     ProviderType = board.ProviderType;
     PasswordSalt = board.PasswordSalt;
 }
Пример #3
0
        private void EditBooru()
        {
            _editingCurrentMode = true;
            _previousBoard = CurrentSelectedBoard;
            CurrentSelectedBoard = new BooruBoard(_previousBoard);
            EnableEditing = true;

            if (string.IsNullOrEmpty(CurrentSelectedBoard.PasswordSalt))
                CanUseLoginDetails = false;
            else
                CanUseLoginDetails = true;

            DoShowNewBooru = Visibility.Visible;
        }
Пример #4
0
 private void AddBooru()
 {
     CanUseLoginDetails = false;
     _previousBoard = CurrentSelectedBoard;
     CurrentSelectedBoard = new BooruBoard();
     EnableEditing = true;
     DoShowNewBooru = Visibility.Visible;
 }