hexawyz / NetUnicodeInfo

Unicode Character Inspector & Library providing a subset of the Unicode data for .NET clients.
https://www.nuget.org/packages/UnicodeInformation/
MIT License
59 stars 11 forks source link

Add ToString() or DebuggerDisplay on UnicodeBlock #3

Closed KirillOsenkov closed 7 years ago

KirillOsenkov commented 7 years ago

It would be awesome if UnicodeBlock had a ToString() (for debugger purposes). Something like this:

        /// <summary>
        /// Returns the name of this unicode block.
        /// </summary>
        public override string ToString()
        {
            return Name + " [" + CodePointRange.ToString() + "]";
        }
hexawyz commented 7 years ago

Adding a few DebuggerDisplay attributes here and there would indeed be a good idea. I first have to tweak things to make the build a bit smoother with AppVeyor, now that .NET Core is officially supported, but I'll do that just after.

hexawyz commented 7 years ago

I've published an updated package. Would you mind checking if everything is ok for you ? Thanks

KirillOsenkov commented 7 years ago

Awesome, so much better! Thanks!