Files
microsoft--powertoys/src/common/FilePreviewCommon/Formatters/IFormatter.cs
T
wehub-resource-sync 79031da543
Spell checking / Check Spelling (push) Has been cancelled
Spell checking / Update PR (push) Has been cancelled
Publish Dev Docs Website / build (push) Failing after 1s
Publish Dev Docs Website / deploy (push) Has been skipped
Spell checking / Report (Push) (push) Has been cancelled
Spell checking / Report (PR) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:16:02 +08:00

22 lines
665 B
C#

// 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 Microsoft.PowerToys.FilePreviewCommon.Monaco.Formatters
{
public interface IFormatter
{
/// <summary>
/// Gets the language to which the formatter is applied
/// </summary>
string LangSet { get; }
/// <summary>
/// Format the value
/// </summary>
/// <param name="value">The value to format</param>
/// <returns>The value formatted</returns>
string Format(string value);
}
}