public Container RegisterType <TBase, TDerived>() where TDerived : class, TBase where TBase : class { _providers[typeof(TBase)] = new ActivatorObjectProvider <TDerived>(this); return(this); }
public Container RegisterType <T>() where T : class { _providers[typeof(T)] = new ActivatorObjectProvider <T>(this); return(this); }