I notice in the ExportGenerator.cs class there is a method, GenerateText(Expression expression, ExpressionSourceType source) that can generate object initialization code from an expression.
Is there a straightforward way to do this from a c# object, like this: GenerateText(Object object, ExpressionSourceType source)
In this way, assuming dependencies could be limited, ObjectExporter could be highly useful as a nuget package for inclusion in many projects where code generation from an object (state) is required.