polenter / SharpSerializer

SharpSerializer can serialize types like: multidimensional array, nested array, array-of-arrays, polymorphic object (where value is inherited from the property type), generic type, generic listing (i.e. dictionary, collection) and many more, with a single line of code
https://www.sharpserializer.net
Other
114 stars 28 forks source link

Made object factory able to use dependency injection for creating files. #3

Closed rakker91 closed 6 years ago

rakker91 commented 6 years ago

Previously, objectfactory only used Activator.CreateInstance (in the Tools helper class) to create objects. However, sometimes objects need to be created with dependencies injected.

I added the ability for sharpserializer to do that, and also provided an autofac implementation, in a separate project, which could be put into it's own nuget package.

Thanks for sharp serializer. It works great.