2017-09-07 23:10:17 +02:00
using System.ComponentModel.DataAnnotations ;
2014-10-27 21:12:57 +01:00
2014-11-03 00:05:54 +01:00
namespace System.Unicode
2014-10-27 21:12:57 +01:00
{
2014-12-15 01:57:09 +01:00
/// <summary>Represents possible values for the Bidi_Class unicode property.</summary>
2014-10-27 21:12:57 +01:00
public enum BidirectionalClass : byte
{
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Left_To_Right.</summary>
/// <remarks>Any strong left-to-right character.</remarks>
[ValueName("L"), ValueName("Left_To_Right"), Display(Name = "Left_To_Right", Description = "Any strong left-to-right character.")]
2014-10-27 21:12:57 +01:00
LeftToRight ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Right_To_Left.</summary>
/// <remarks>Any strong right-to-left (non-Arabic-type) character.</remarks>
[ValueName("R"), ValueName("Right_To_Left"), Display(Name = "Right_To_Left", Description = "Any strong right-to-left (non-Arabic-type) character.")]
2014-10-27 21:12:57 +01:00
RightToLeft ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Arabic_Letter.</summary>
/// <remarks>Any strong right-to-left (Arabic-type) character.</remarks>
[ValueName("AL"), ValueName("Arabic_Letter"), Display(Name = "Arabic_Letter", Description = "Any strong right-to-left (Arabic-type) character.")]
2014-10-27 21:12:57 +01:00
ArabicLetter ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value European_Number.</summary>
/// <remarks>Any ASCII digit or Eastern Arabic-Indic digit.</remarks>
[ValueName("EN"), ValueName("European_Number"), Display(Name = "European_Number", Description = "Any ASCII digit or Eastern Arabic-Indic digit.")]
2014-10-27 21:12:57 +01:00
EuropeanNumber ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value European_Separator.</summary>
/// <remarks>Plus and minus signs.</remarks>
[ValueName("ES"), ValueName("European_Separator"), Display(Name = "European_Separator", Description = "Plus and minus signs.")]
2014-10-27 21:12:57 +01:00
EuropeanSeparator ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value European_Terminator.</summary>
/// <remarks>A terminator in a numeric format context, includes currency signs.</remarks>
[ValueName("ET"), ValueName("European_Terminator"), Display(Name = "European_Terminator", Description = "A terminator in a numeric format context, includes currency signs.")]
2014-10-27 21:12:57 +01:00
EuropeanTerminator ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Arabic_Number.</summary>
/// <remarks>Any Arabic-Indic digit.</remarks>
[ValueName("AN"), ValueName("Arabic_Number"), Display(Name = "Arabic_Number", Description = "Any Arabic-Indic digit.")]
2014-10-27 21:12:57 +01:00
ArabicNumber ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Common_Separator.</summary>
/// <remarks>Commas, colons, and slashes.</remarks>
[ValueName("CS"), ValueName("Common_Separator"), Display(Name = "Common_Separator", Description = "Commas, colons, and slashes.")]
2014-10-27 21:12:57 +01:00
CommonSeparator ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Nonspacing_Mark.</summary>
/// <remarks>Any nonspacing mark.</remarks>
[ValueName("NSM"), ValueName("Nonspacing_Mark"), Display(Name = "Nonspacing_Mark", Description = "Any nonspacing mark.")]
2014-11-24 00:24:55 +01:00
NonSpacingMark ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Boundary_Neutral.</summary>
/// <remarks>Most format characters, control codes, or noncharacters.</remarks>
[ValueName("BN"), ValueName("Boundary_Neutral"), Display(Name = "Boundary_Neutral", Description = "Most format characters, control codes, or noncharacters.")]
2014-10-27 21:12:57 +01:00
BoundaryNeutral ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Paragraph_Separator.</summary>
/// <remarks>Various newline characters.</remarks>
[ValueName("B"), ValueName("Paragraph_Separator"), Display(Name = "Paragraph_Separator", Description = "Various newline characters.")]
2014-10-27 21:12:57 +01:00
ParagraphSeparator ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Segment_Separator.</summary>
/// <remarks>Various segment-related control codes.</remarks>
[ValueName("S"), ValueName("Segment_Separator"), Display(Name = "Segment_Separator", Description = "Various segment-related control codes.")]
2014-10-27 21:12:57 +01:00
SegmentSeparator ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value White_Space.</summary>
/// <remarks>Spaces.</remarks>
[ValueName("WS"), ValueName("White_Space"), Display(Name = "White_Space", Description = "Spaces.")]
2014-10-27 21:12:57 +01:00
WhiteSpace ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Other_Neutral.</summary>
/// <remarks>Most other symbols and punctuation marks.</remarks>
[ValueName("ON"), ValueName("Other_Neutral"), Display(Name = "Other_Neutral", Description = "Most other symbols and punctuation marks.")]
2014-10-27 21:12:57 +01:00
OtherNeutral ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Left_To_Right_Embedding.</summary>
/// <remarks>U+202A: the LR embedding control.</remarks>
[ValueName("LRE"), ValueName("Left_To_Right_Embedding"), Display(Name = "Left_To_Right_Embedding", Description = "U+202A: the LR embedding control.")]
2014-10-27 21:12:57 +01:00
LeftToRightEmbedding ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Left_To_Right_Override.</summary>
/// <remarks>U+202D: the LR override control.</remarks>
[ValueName("LRO"), ValueName("Left_To_Right_Override"), Display(Name = "Left_To_Right_Override", Description = "U+202D: the LR override control.")]
2014-10-27 21:12:57 +01:00
LeftToRightOverride ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Right_To_Left_Embedding.</summary>
/// <remarks>U+202B: the RL embedding control.</remarks>
[ValueName("RLE"), ValueName("Right_To_Left_Embedding"), Display(Name = "Right_To_Left_Embedding", Description = "U+202B: the RL embedding control.")]
2014-10-27 21:12:57 +01:00
RightToLeftEmbedding ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Right_To_Left_Override.</summary>
/// <remarks>U+202E: the RL override control.</remarks>
[ValueName("RLO"), ValueName("Right_To_Left_Override"), Display(Name = "Right_To_Left_Override", Description = "U+202E: the RL override control.")]
2014-10-27 21:12:57 +01:00
RightToLeftOverride ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Pop_Directional_Format.</summary>
/// <remarks>U+202C: terminates an embedding or override control.</remarks>
[ValueName("PDF"), ValueName("Pop_Directional_Format"), Display(Name = "Pop_Directional_Format", Description = "U+202C: terminates an embedding or override control.")]
2014-10-27 21:12:57 +01:00
PopDirectionalFormat ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Left_To_Right_Isolate.</summary>
/// <remarks>U+2066: the LR isolate control.</remarks>
[ValueName("LRI"), ValueName("Left_To_Right_Isolate"), Display(Name = "Left_To_Right_Isolate", Description = "U+2066: the LR isolate control.")]
2014-10-27 21:12:57 +01:00
LeftToRightIsolate ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Right_To_Left_Isolate.</summary>
/// <remarks>U+2067: the RL isolate control.</remarks>
[ValueName("RLI"), ValueName("Right_To_Left_Isolate"), Display(Name = "Right_To_Left_Isolate", Description = "U+2067: the RL isolate control.")]
2014-10-27 21:12:57 +01:00
RightToLeftIsolate ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value First_Strong_Isolate.</summary>
/// <remarks>U+2068: the first strong isolate control.</remarks>
[ValueName("FSI"), ValueName("First_Strong_Isolate"), Display(Name = "First_Strong_Isolate", Description = "U+2068: the first strong isolate control.")]
2014-10-27 21:12:57 +01:00
FirstStrongIsolate ,
2014-12-15 01:57:09 +01:00
/// <summary>Represents the value Pop_Directional_Isolate.</summary>
/// <remarks>U+2069: terminates an isolate control.</remarks>
[ValueName("PDI"), ValueName("Pop_Directional_Isolate"), Display(Name = "Pop_Directional_Isolate", Description = "U+2069: terminates an isolate control.")]
2014-10-27 21:12:57 +01:00
PopDirectionalIsolate ,
}
}