Class KanjiTextDiagnosticItem
- Namespace
- KanjiVariants
- Assembly
- KanjiVariants.dll
元の文字列中の一論理単位についての診断結果。基底文字と直後のVSは登録有無によらず同じ単位です。
public sealed class KanjiTextDiagnosticItem
- Inheritance
-
KanjiTextDiagnosticItem
- Inherited Members
Properties
IsSupported
置換前の単位が対象集合でそのまま使用可能かどうか。
public bool IsSupported { get; }
Property Value
Original
元の単位の文字列。不正UTF-16も修正せず保持します。
public string Original { get; }
Property Value
Reason
使用可能性、採用した置換経路、または置換できない理由。
public KanjiDiagnosticReason Reason { get; }
Property Value
Replacement
KanjiText.Replaceが実際に採用する置換文字列。元の単位が使用可能、または置換不可の場合はnullです。
public string? Replacement { get; }
Property Value
Utf16Index
入力文字列内の0始まりのUTF-16符号単位位置。
public int Utf16Index { get; }
Property Value
Utf16Length
元の単位のUTF-16符号単位数。Original.Lengthと一致します。
public int Utf16Length { get; }