Created
January 31, 2017 08:19
-
-
Save tarikguney/abde4d18dc08e52df7c0047d8e5f6669 to your computer and use it in GitHub Desktop.
Ninject Code Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class WarriorModule : NinjectModule | |
{ | |
public override void Load() | |
{ | |
this.Bind<IWeapon>().To<Sword>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment