Dynamics.NET

Extensions for efficient runtime reflection and structural induction.


Keywords
Install
Install-Package Dynamics.NET -Version 0.1.0

Documentation

Dynamics.NET

Extensions for efficient runtime reflection and structural induction. The following features are provided out of the box:

  • generic deep copying: Type.Copy(T value)
  • type mutability heuristics: Type.Mutability and Type.IsMutable(value)
  • precise type recursion checks: Type.Cycles
  • identifying fields and properties that are compiler-generated
  • finding the compiler-generated fields for auto properties
  • analyzing nested generic types
  • simplified .NET types with kinding via Dynamics.Kind

These are functions that are useful for serialization, runtime type and code generation, and similar applications where type structure analysis is useful.

The functions are provided in an efficient form as statically cached delegates.