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
22 lines
665 B
C#
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);
|
|
}
|
|
}
|