Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1022 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 1022 Bytes

Ninject.Extensions.Xml

Build status codecov NuGet Version NuGet Downloads

This extension allows users to create Ninject modules using XML and load them at runtime. Because XML is not a programming language, these modules are naturally not as powerful as those defined using code.

An example of the syntax:

<module name="SomeModule">
  <bind service="Game.IWeapon" to="Game.Sword"/>
  <bind service="Game.IWarrior" toProvider="Game.SamuraiProvider"/>
</module>