/// <summary> /// Finalizes an instance of the <see cref='ScopedSingleton{TInterface}'/> class. /// </summary> public void Dispose() { LifetimeManager.ClearSingleton <TInterface>(); }