/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/powerdisplay/PowerDisplay.Cli/Commands/SetCommandInputs.cs
32 строки
861 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.Cli.Commands; /// <summary> /// Inputs collected from the parsed <c>set</c> subcommand. Exactly one of the /// setting fields must be non-null. /// </summary> public sealed class SetCommandInputs { public int? MonitorNumber { get; init; } public string? MonitorId { get; init; } public int? Brightness { get; init; } public int? Contrast { get; init; } public int? Volume { get; init; } public string? ColorTemperature { get; init; } public string? InputSource { get; init; } public string? PowerState { get; init; } public string? Orientation { get; init; } public bool ConfirmPowerOff { get; init; } }