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

Documentation improvement for plugins #436

Closed
rold2007 opened this issue Jul 13, 2017 · 2 comments
Closed

Documentation improvement for plugins #436

rold2007 opened this issue Jul 13, 2017 · 2 comments

Comments

@rold2007
Copy link

rold2007 commented Jul 13, 2017

I am currently implementing plugins in my application using Simple Injector and it wasn't clear from the documentation how I could generate many instances of the same plugin without relying on the Container itself.

I finally found what the information I was looking for in this answer, that IEnumerable<IPlugin> gives you a new instance every time it is iterated through.

I believe it would be useful to other users if this information (as sample code maybe ?) was available with the Package registrations documentation and/or Registering plugins dynamically.

In the end, I was able to find that behavior described in the Collection types documentation but only because I knew what I was looking for after reading your answer on StackOverflow...

@dotnetjunkie
Copy link
Collaborator

Good point. I'll move this as work item to the documentation repo.

@dotnetjunkie
Copy link
Collaborator

Moved to simpleinjector/Documentation#65

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

2 participants