[PTRun][Shell]Select which shell is used (#28121)

* [PTRun] LeaveShellOpen condition added to run command

* [PTRun] Keep shell open added to shell plugin settings.

* [PTRun] Unnecessary variable deleted. Formatting.

* [PTRun] Variable name changed.

* [PTRun] Shell selection

* [PTRun] Bugfix

* [PTRun] Review comments.

* [PTRun] Revert commit

* [PTRun] An enumaration is added to PluginAdditionalOption for selection types.
This commit is contained in:
gokcekantarci
2023-09-11 13:54:06 +03:00
committed by GitHub
parent 6ee326beb4
commit e856e05fad
7 changed files with 134 additions and 7 deletions

View File

@@ -2,10 +2,18 @@
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace Microsoft.PowerToys.Settings.UI.Library
{
public class PluginAdditionalOption
{
public enum SelectionType
{
Checkbox = 0,
Combobox = 1,
}
public string Key { get; set; }
public string DisplayLabel { get; set; }
@@ -16,5 +24,11 @@ namespace Microsoft.PowerToys.Settings.UI.Library
public string DisplayDescription { get; set; }
public bool Value { get; set; }
public List<string> ComboBoxOptions { get; set; }
public int Option { get; set; }
public int SelectionTypeValue { get; set; }
}
}