microsoft/TypeAgent

Public

mirrored fromhttps://github.com/microsoft/TypeAgentAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-shell-and-cli-windows-job

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

dotnet/autoShell/Services/IBrightnessService.cs

20lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4namespace autoShell.Services;
5
6/// <summary>
7/// Abstracts display brightness operations for testability.
8/// </summary>
9internal interface IBrightnessService
10{
11 /// <summary>
12 /// Gets the current display brightness (0–100).
13 /// </summary>
14 byte GetCurrentBrightness();
15
16 /// <summary>
17 /// Sets the display brightness (0–100).
18 /// </summary>
19 void SetBrightness(byte brightness);
20}
21