You shouldn't have to pass an IDictionary for the initializers - that's too much. What you really need is a Func<Type, Func<object, object>> or some custom IInitializerResolver interface that only exposes a couple of methods like bool CanResolve(Type) and Func<object, object> Resolve(Type).
Can you add an overloaded method that accepts such a parameter. Thanks.
You shouldn't have to pass an IDictionary for the initializers - that's too much. What you really need is a Func<Type, Func<object, object>> or some custom IInitializerResolver interface that only exposes a couple of methods like bool CanResolve(Type) and Func<object, object> Resolve(Type).
Can you add an overloaded method that accepts such a parameter. Thanks.