hmemcpy / AgentMulder

** THIS PLUGIN IS NO LONGER MAINTAINED. PLEASE FOLLOW ERNICOMMUNITY FOR UPDATES **
https://github.com/ERNICommunity/AgentMulder
MIT License
151 stars 33 forks source link

Unity Support for Xml-Based Configuration #17

Closed alexchilcott closed 12 years ago

alexchilcott commented 12 years ago

I'd love for AgentMulder to support the design-time xml-based method of configuring Unity. Currently only the fluent interface is supported

hmemcpy commented 12 years ago

Hello Alex,

Thank you for your request.

You're right, only the fluent interface of IoC containers is supported - this is due to the fact that Agent Mulder is using pattern matching to find component registrations. It was not designed to read xml configuration. I realize that many Unity-based setups are using the xml-config, but it is outside the scope of Agent Mulder, therefore I will not add support at this stage for xml-configuration.

You are more than welcome to create one yourself and contribute, if you like, I'd be more than happy to help integrating. But as far as adding support - I'm sorry, I would have to decline.

alexchilcott commented 12 years ago

Ah, I hadn't realised that only fluent interfaces were supported for all the containers you support. Fair enough, I did think it sounded like a huge undertaking in order to support xml configs! Maybe one day I will take a look at the Resharper plugin API, but chances are I won't :) Thanks anyway for the great open source plugin.