2017-09-07 23:10:17 +02:00
|
|
|
using System.Diagnostics;
|
2014-11-08 01:43:17 +01:00
|
|
|
|
|
|
|
|
namespace System.Unicode
|
|
|
|
|
{
|
2014-12-16 00:53:15 +01:00
|
|
|
/// <summary>Represents a Unicode block.</summary>
|
2017-09-07 23:10:17 +02:00
|
|
|
[DebuggerDisplay("[{CodePointRange.ToString(),nq}] {Name,nq}")]
|
2014-11-08 01:43:17 +01:00
|
|
|
public struct UnicodeBlock
|
|
|
|
|
{
|
2014-12-16 00:53:15 +01:00
|
|
|
/// <summary>The code point range of this block.</summary>
|
2014-11-24 21:47:06 +01:00
|
|
|
public readonly UnicodeCodePointRange CodePointRange;
|
2014-12-16 00:53:15 +01:00
|
|
|
/// <summary>The name of this block.</summary>
|
2014-11-08 01:43:17 +01:00
|
|
|
public readonly string Name;
|
|
|
|
|
|
2014-11-24 21:47:06 +01:00
|
|
|
internal UnicodeBlock(UnicodeCodePointRange codePointRange, string name)
|
2014-11-08 01:43:17 +01:00
|
|
|
{
|
2017-09-07 23:10:17 +02:00
|
|
|
CodePointRange = codePointRange;
|
|
|
|
|
Name = name;
|
2014-11-08 01:43:17 +01:00
|
|
|
}
|
2014-11-16 21:27:57 +01:00
|
|
|
}
|
2014-11-08 01:43:17 +01:00
|
|
|
}
|