mono/mono-addins

Dependency Injection/Add-In Dependencies

WattsC-90 opened this issue · 0 comments

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