Files
AI-Studio/app/MindWork AI Studio/Tools/DocumentSegments/KeyedWords.cs
T

10 lines
595 B
C#

namespace AIStudio.Tools.DocumentSegments;
/// <summary>
/// Words with their formatting and with the key which tells that formatting apart from others, see FormatSpans.
/// </summary>
/// <typeparam name="TFormat">How the format describes formatting, e.g., the properties of a run.</typeparam>
/// <param name="Text">The words.</param>
/// <param name="Format">The formatting of the words.</param>
/// <param name="FormatKey">What tells this formatting apart from others; empty for none.</param>
public readonly record struct KeyedWords<TFormat>(string Text, TFormat Format, string FormatKey);