Created
April 10, 2014 23:08
-
-
Save JohanLarsson/10430933 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| using Ninject; | |
| using NUnit.Framework; | |
| public class Class1 | |
| { | |
| [Test] | |
| public void CompRoot() | |
| { | |
| var kernel = new StandardKernel(); | |
| var fuu = kernel.Get<Fuu>(); | |
| } | |
| } | |
| public class Fuu | |
| { | |
| private readonly Meh _meh; | |
| public Fuu(Meh meh) | |
| { | |
| _meh = meh; | |
| } | |
| } | |
| public class Meh | |
| { | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment