Esempio n. 1
0
 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);
 }