예제 #1
0
파일: Container.cs 프로젝트: doriswang/Test
 public static void RegisterInstance <I, T>(string name, T instance, ObjectLifeSpans lifeSpan)
     where I : class
     where T : class, I
 {
     resolver.RegisterInstance <I, T>(name, instance, lifeSpan);
 }