public void Dispose() { if (_instanceLazy?.IsValueCreated == true) { _instanceLazy?.Value?.Dispose(); } }