API doc fix

This commit is contained in:
Tig
2024-09-24 22:54:48 -06:00
parent 769c058c80
commit 5a85d439ce
2 changed files with 11 additions and 9 deletions

View File

@@ -11,12 +11,11 @@ namespace Terminal.Gui;
/// If the Rune is printable, it will be serialized as the glyph; otherwise the \u format (e.g. "\\u2611") is used.
/// </para>
/// <para>
/// Supports deserializing a string as
/// one of:
/// - unicode char (e.g. "")
/// - U+hex format (e.g. "U+2611")
/// - \u format (e.g. "\\u2611")
/// - A decimal number (e.g. "97" for "a")
/// Supports deserializing as one of:
/// - unicode glyph in a string (e.g. "☑")
/// - U+hex format in a string (e.g. "U+2611")
/// - \u format in a string (e.g. "\\u2611")
/// - A decimal number (e.g. 97 for "a")
/// </para>
/// </summary>
internal class RuneJsonConverter : JsonConverter<Rune>

View File

@@ -8,11 +8,14 @@
/// </para>
/// <para>
/// The default glyphs can be changed via the <see cref="ConfigurationManager"/>. Within a <c>config.json</c>
/// file The Json property name is the property name prefixed with "Glyphs.".
/// file the Json property name is the property name prefixed with "Glyphs.".
/// </para>
/// <para>
/// The JSon property can be either a decimal number or a string. The string may be one of: - A unicode char
/// (e.g. "☑") - A hex value in U+ format (e.g. "U+2611") - A hex value in UTF-16 format (e.g. "\\u2611")
/// The Json property can be one of:
/// - unicode glyph in a string (e.g. "")
/// - U+hex format in a string (e.g. "U+2611")
/// - \u format in a string (e.g. "\\u2611")
/// - A decimal number (e.g. 97 for "a")
/// </para>
/// </remarks>
public class GlyphDefinitions