Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add InitializerResolver overload #32

Open
cjmairair opened this issue Jun 27, 2019 · 0 comments
Open

Add InitializerResolver overload #32

cjmairair opened this issue Jun 27, 2019 · 0 comments

Comments

@cjmairair
Copy link

cjmairair commented Jun 27, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant