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

9 lines
505 B
C#

namespace AIStudio.Tools.DocumentSegments;
/// <summary>
/// Words of a run, with the formatting of the run, as a format reads them, e.g., from Word or PowerPoint.
/// </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; null for a run without any.</param>
public readonly record struct FormattedWords<TFormat>(string Text, TFormat Format);