public TypeOptions <TRegisteredClass> AsSingleton() { _currentFactory.AddTypeToSingletonList(typeof(TRegisteredClass)); return(this); }