Files
GoldenCrystal 751e84fc6d Add DebuggerDisplay attributes.
Format some code to C# 7.0.
Remove useless using directives.
2017-09-07 23:10:17 +02:00

21 lines
543 B
C#

using System.Diagnostics;
namespace System.Unicode
{
/// <summary>Represents a Unicode block.</summary>
[DebuggerDisplay("[{CodePointRange.ToString(),nq}] {Name,nq}")]
public struct UnicodeBlock
{
/// <summary>The code point range of this block.</summary>
public readonly UnicodeCodePointRange CodePointRange;
/// <summary>The name of this block.</summary>
public readonly string Name;
internal UnicodeBlock(UnicodeCodePointRange codePointRange, string name)
{
CodePointRange = codePointRange;
Name = name;
}
}
}