danesparza / MailChimp.NET

:envelope: .NET Wrapper for the MailChimp v2.0 API
MIT License
179 stars 119 forks source link

README.md update with dependency injector info #174

Closed williamsonjake closed 8 years ago

williamsonjake commented 8 years ago

As reported in https://github.com/danesparza/MailChimp.NET/issues/170, the '_dataCenterPrefix' never gets set when using IMailChimpManager.

To get things working as expected, the dependency injector needs to pass the api key as a constructor argument.

I've updated the readme to reflect these settings using a Ninject example.

danesparza commented 8 years ago

@williamsonjake Thanks!