views:

145

answers:

1

I need to pass configuration settings to an AddIn created using the Managed AddIn Framework (MAF, aka System.AddIn). Can a put a settings parameter in the AddIn's constructor?

Another option would be to create an Initialize() method, but then I have to remember to call it before doing any work with the AddIn.

+1  A: 

Best way is to use Initilize() method, because of Pipelines uses constructor parameters for passing contracts.

tgrk