ClrMD.Extensions
ClrMD.Extensions copied to clipboard
More SimpleValue types are handled
- Add ToArray<T> to ClrDynamic
- Add support for X509Certificate(2)
- Add support for IPEndPoint
Thanks for thoses changes, there is some nice ideas.
However I don't want to add too much stuff in SimpleValue, theses should only be primitive types, I added some more common types (TimeSpan, DateTime, etc) but it's a bit of a stretch already. An extensible ClrDynamic.ConvertTo<T>()
method could make more sense here to add more complex types.
ToArray
I think ClrDynamic.ToArray should limit itself to primitive array types for now. I don't like the idea of mixing Visualizers in there.