public IInstanceProviderOptions ToType <T>() where T : new() { InstanceProvider = _InstanceProviderList.AddTypedProvider <T>(BindingType); return(InstanceProvider); }
public IInjectionBindingOptions ToType <TProvider>() where TProvider : TBinding, new() { InstanceProvider = _instanceProviderList.AddTypedProvider <TProvider>(BindingType); return(this); }