public override void TearDown() { _redirect.Dispose(); (Target as IDisposable)?.Dispose(); base.TearDown(); }
public override void Dispose() { try { base.Dispose(); } finally { _redirect.Dispose(); } }
public override void TearDown() { _redirect.Dispose(); base.TearDown(); }
public void TearDown() { _redirect.Dispose(); }
public virtual void Dispose() => _redirect.Dispose();