public override void Dispose()
 {
     _lazyCreator.DecRefCount();
     _singletonRegistry.UnmarkSingleton(_id, SingletonTypes.ToSingleInstance);
 }