ClrMD.Extensions icon indicating copy to clipboard operation
ClrMD.Extensions copied to clipboard

More SimpleValue types are handled

Open fbrosseau opened this issue 6 years ago • 1 comments

  • Add ToArray<T> to ClrDynamic
  • Add support for X509Certificate(2)
  • Add support for IPEndPoint

fbrosseau avatar Feb 01 '19 15:02 fbrosseau

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.

JeffCyr avatar Feb 05 '19 16:02 JeffCyr