public void RegisterInstance <T>(string name, T instance) { lock (this.container) { UnityContainerExtensions.RegisterInstance <T>(this.container, name, instance); } }
public IContainer RegisterInstance(Type t, string name, object instance) { UnityContainerExtensions.RegisterInstance(this._container, t, name, instance); return(this); }