-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--- You can now use this selector to select a group of folders. --- Type: add Breaking: False Doc Required: True Part: 1/1
- Loading branch information
Showing
5 changed files
with
614 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
public/Nitrocid/Kernel/Debugging/Testing/Facades/TestFoldersSelector.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// | ||
// Nitrocid KS Copyright (C) 2018-2023 Aptivi | ||
// | ||
// This file is part of Nitrocid KS | ||
// | ||
// Nitrocid KS is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// Nitrocid KS is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY, without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
// | ||
|
||
using KS.ConsoleBase.Inputs.Styles.Infobox; | ||
using KS.Files.Operations; | ||
using KS.Languages; | ||
|
||
namespace KS.Kernel.Debugging.Testing.Facades | ||
{ | ||
internal class TestFoldersSelector : TestFacade | ||
{ | ||
public override string TestName => Translate.DoTranslation("Tests the multiple folders selector"); | ||
public override TestSection TestSection => TestSection.Files; | ||
public override void Run(params string[] args) | ||
{ | ||
string[] selected = Selection.SelectFolders(); | ||
InfoBoxColor.WriteInfoBox(Translate.DoTranslation("You've selected") + $": {string.Join(", ", selected)}"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.