protected virtual void Dispose(bool disposing) { if (disposing) { lifetime.Dispose(); } }
/// <summary> /// Disposes any <see cref="IDisposable"/> objects owned by this container. /// </summary> public void Dispose() => _lifetime.Dispose();