/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/settings-ui/Settings.UI.Library/PowerDisplayActionMessage.cs
32 строки
911 B
moooyo
Introduce new utility PowerDisplay to control your monitor settings (#42642)
03 фев 2026, 08:53
Не верифицирован
03 фев 2026, 08:53
18efa05
Код
Авторство
О чём код?
// 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.Text.Json.Serialization; namespace Microsoft.PowerToys.Settings.UI.Library { /// <summary> /// Message for PowerDisplay module actions /// </summary> public class PowerDisplayActionMessage { [JsonPropertyName("action")] public ActionData Action { get; set; } public class ActionData { [JsonPropertyName("PowerDisplay")] public PowerDisplayAction PowerDisplay { get; set; } } public class PowerDisplayAction { [JsonPropertyName("action_name")] public string ActionName { get; set; } [JsonPropertyName("value")] public string Value { get; set; } } } }