Esempio n. 1
0
 protected T ResolveUnnamed <T>()
 {
     return(container.Resolve <T>(TypeRegistration.DefaultName <T>()));
 }
Esempio n. 2
0
 public void WhenNoNameIsGiven_DefaultNonNullNameIsReturned()
 {
     Assert.AreEqual(TypeRegistration.DefaultName <Foo>(), registration.Name);
 }