/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/powerdisplay/PowerDisplay.Contracts/Requests/SetRequest.cs
20 строк
762 B
moooyo
feat(powerdisplay): add CLI for monitor control (#48632)
16 июл 2026, 18:08
Не верифицирован
16 июл 2026, 18:08
5c9c93d
Код
Авторство
О чём код?
// 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. namespace PowerDisplay.Contracts; public sealed class SetRequest { public int? MonitorNumber { get; set; } public string? MonitorId { get; set; } /// <summary>One of the canonical setting names: brightness, contrast, volume, /// color-temperature, input-source, power-state, orientation.</summary> public string Setting { get; set; } = string.Empty; /// <summary>Raw user-supplied value; the app parses/validates against capabilities.</summary> public string RawValue { get; set; } = string.Empty; public bool ConfirmPowerOff { get; set; } }