mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-03 16:42:32 +00:00
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
10 lines
595 B
C#
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); |