public void Dispose() { if (_streamReader != null) { _streamReader.Dispose(); _streamReader = null; } if (_reader != null) { _reader.Dispose(); _reader = null; } }
public void Dispose() { _streamReader?.Close(); _reader?.Dispose(); }
public void Dispose() { if (_streamReader != null) { _streamReader.Dispose(); _streamReader = null; } if (_reader != null) { _reader.Dispose(); _reader = null; } }
public void Dispose() { _streamReader?.Close(); _reader?.Dispose(); }