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

Could you provide an example of how to use this with IoC containers #118

Open
clmcgrath opened this issue Jun 5, 2017 · 4 comments
Open
Labels

Comments

@clmcgrath
Copy link

I am looking for a way to use this both as either a dependency or to pull in dependencies using IoC containers. Specifically I am using Unity at the present time. and I am trying to use the ArgActions attrbute with classes but I haven't been able to find any documentation on how to use ArgActions properly in your Readme file or instantiate with an IoC container or how to resolve these types of class based actions in general.

This is the first parser framework i have accross that supports custom type mappings and validation so i would really like to use this for my next project

@clmcgrath
Copy link
Author

i have it partially figured out but i am getting stuck on how to plugin to the ArgActionResolver and use the created instance with the created Action classes

the only thing i have found is how to identify the types but i can't find anytwhere to plugin Unity Resolution functionality

@sunilshahi
Copy link

I am interested in this as well.

@adamabdelhamed
Copy link
Owner

I will eventually document this. In the meantime, does this test help?

@sunilshahi
Copy link

I will try this soon. But, yes this helps. Thanks

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

No branches or pull requests

3 participants