/// <inheritdoc /> public void Dispose() { if (_service == null) { return; } _service.Dispose(); _service = null; }