コード例 #1
0
 private static void MakeSureTypeCanBeResolved <T>()
     where T : Runner
 {
     using (var resolver = new SharpDXResolver().Init <T>())
         Assert.IsNotNull(resolver.Resolve <T>());
 }
コード例 #2
0
 public T Resolve <T>() where T : class
 {
     return(resolver.Resolve <T>());
 }