예제 #1
0
        public override void TearDown()
        {
            _redirect.Dispose();

            (Target as IDisposable)?.Dispose();

            base.TearDown();
        }
 public override void Dispose()
 {
     try
     {
         base.Dispose();
     }
     finally
     {
         _redirect.Dispose();
     }
 }
예제 #3
0
        public override void TearDown()
        {
            _redirect.Dispose();

            base.TearDown();
        }
예제 #4
0
 public void TearDown()
 {
     _redirect.Dispose();
 }
 public virtual void Dispose() => _redirect.Dispose();