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