public void Dispose() { if (_inner != null) { _inner.Dispose(); _inner = null; } _converter = null; _current = default(TTarget); }
public TryConvertEnumerator(IEnumerator <TSource> inner, TryConvertCallback <TSource, TTarget> converter) { _inner = inner; _converter = converter; _current = default(TTarget); }