Exemplo n.º 1
0
 private static Func <IActivationContext, object> GetTypedLazyDelegate <T>(IActivator activator)
 {
     return(context => new Lazy <T>(() => (T)activator.ActivateService((context))));
 }