Skip to content

ninject/Ninject.Extensions.Xml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>