Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Dependency Injection/Add-In Dependencies #68

Open
WattsC-90 opened this issue May 23, 2017 · 0 comments
Open

Dependency Injection/Add-In Dependencies #68

WattsC-90 opened this issue May 23, 2017 · 0 comments

Comments

@WattsC-90
Copy link

Forgive me if this is a well travelled and well answered question, I must be searching for the wrong thing.

If a plugin/Add-In takes arguments in the constructor, e.g.: a logger: ILogger, is that ILogger declared as a dependency in the XML/Attribute? I am a little unclear how one injects code into the add-ins that are discovered/loaded in.

I am using Ninject in my App if that makes that any difference, not sure if the ILogger type would get auto resolved on instantiation

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

No branches or pull requests

1 participant