Class TextGroupsData
- Namespace
- SunamoDictionary.Data
- Assembly
- SunamoDictionary.dll
Data structure for managing categorized text groups. Stores entries, categories, and provides sorting functionality.
public class TextGroupsData
- Inheritance
-
TextGroupsData
- Inherited Members
- Extension Methods
Properties
Categories
Gets or sets the list of category names.
public List<string> Categories { get; set; }
Property Value
Entries
Gets or sets the list of text entries.
public List<string> Entries { get; set; }
Property Value
SortedValues
Gets or sets the dictionary of sorted values indexed by category.
public Dictionary<int, List<string>> SortedValues { get; set; }
Property Value
- Dictionary<int, List<string>>
Methods
SortedValuesWithKeyString(TextGroupsData)
Converts sorted values with integer keys to string keys using category names.
public static Dictionary<string, List<string>> SortedValuesWithKeyString(TextGroupsData data)
Parameters
dataTextGroupsDataThe text groups data to convert.
Returns
- Dictionary<string, List<string>>
A dictionary with category names as keys and their corresponding values.