25 packages returned for Tags:"cast"

Make casting operator overloads available to isinst-like(as in C#, TryCast in VB) operations. This should also allow you to cast from unspecified type to anything as long as the actual type of the source object can cast to target type.
As by: NanaLich
Make casting operator overloads available to isinst-like(as in C#, TryCast in VB) operations. This should also allow you to cast from unspecified type to anything as long as the actual type of the source object can cast to target type.
Ever needed to cast one struct to another, or pull a struct out of a byte array without a lot of work or unsafe code? I have too, so I made PODcaster. It can cast between individual elements as well as to and from array sections.
  • 407 total downloads
  • last updated 10/21/2017
  • Latest version: 1.1.1
  • dynamic cast
Simple yet effective strongly typed interface based state bag. With this library, you can dynamically cast an object to any property-only interface to gain a strongly typed, dynamic-like state bag.
Rupture
  • 660 total downloads
  • last updated 1/15/2019
  • Latest version: 0.1.1
  • unbox cast
Rupture handles casting and unboxing with null handling from object containers such as data sets and data readers.