public Container() { OnTypeNotFound = (t) => { try { AddInfo(t, ConstructUtils.MakeInfoFor(t, this)); return(true); } catch (PerfusionException) { return(false); } }; OnManyImplementers = (t) => null; AddInfo(typeof(Container), new SingletonInfo(() => this)); }
public void Add(Type t) { AddInfo(t, ConstructUtils.MakeInfoFor(t, this)); }