public virtual IDIContainerLazyBoundObject <TInterface> GetLazyBoundInstance <TInterface>() where TInterface : class { IDIContainerLazyBoundObject <TInterface> ret = new LazyBoundObject <TInterface>(this, typeof(TInterface), GetInstance); return(ret); }
public virtual IDIContainerLazyBoundObject <object> GetLazyBoundInstance(Type interfaceType) { IDIContainerLazyBoundObject <object> ret = new LazyBoundObject <object>(this, interfaceType, GetInstance); return(ret); }