Exemple #1
0
 public Func <T> Create(SimpleContainer container, string key)
 {
     return(() => (T)container.GetInstance(typeof(T), key));
 }
Exemple #2
0
 public Func <T> Create(SimpleContainer container)
 {
     return(() => (T)container.GetInstance(typeof(T), null));
 }