/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/keyboardmanager/KeyboardManagerEditorUI/Helpers/ProgramShortcut.cs
38 строк
1 KB
Zach Teutsch
[Keyboard Manager] Updated WinUI3 KBM and toggles (#45649)
04 мар 2026, 23:46
Не верифицирован
04 мар 2026, 23:46
f651d1a
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation // 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; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static KeyboardManagerEditorUI.Interop.ShortcutKeyMapping; namespace KeyboardManagerEditorUI.Helpers { public class ProgramShortcut : IToggleableShortcut { public List<string> Shortcut { get; set; } = new List<string>(); public string AppToRun { get; set; } = string.Empty; public string Args { get; set; } = string.Empty; public bool IsActive { get; set; } = true; public string Id { get; set; } = string.Empty; public bool IsAllApps { get; set; } = true; public string AppName { get; set; } = string.Empty; public string StartInDirectory { get; set; } = string.Empty; public string Elevation { get; set; } = string.Empty; public string IfRunningAction { get; set; } = string.Empty; public string Visibility { get; set; } = string.Empty; } }