Пример #1
0
 private static void MakeSureTypeCanBeResolved <T>()
     where T : Runner
 {
     using (var resolver = new SharpDXResolver().Init <T>())
         Assert.IsNotNull(resolver.Resolve <T>());
 }
 public T Resolve <T>() where T : class
 {
     return(resolver.Resolve <T>());
 }