public Program() { var InjectContext = new InjectContext(); { InjectContext.SetInstanceType<PspMemory, DebugPspMemory>(); InjectContext.SetInstanceType<DebugPspMemory, DebugPspMemory>(); } InjectContext.InjectDependencesTo(this); }