/// <summary> /// Resumes the object completely for only a short time. Thus, if object was suspended before, it will be suspended again when the function returns. /// </summary> public override void ResumeCompleteTemporarily() { var result = new TemporaryResumeToken(this); result.ResumeTemporarily(); result.Dispose(); }
public void ResumeCompleteTemporarily() { var parent = _parent; if (null == parent) { throw new ObjectDisposedException("This token is already disposed"); } var result = new TemporaryResumeToken(parent); result.ResumeTemporarily(); result.Dispose(); }
/// <summary> /// Resumes the object completely for only a short time. Thus, if object was suspended before, it will be suspended again when the function returns. /// </summary> public override void ResumeCompleteTemporarily() { var result = new TemporaryResumeToken(this); result.ResumeTemporarily(); result.Dispose(); }
public void ResumeCompleteTemporarily() { var parent = _parent; if (null == parent) throw new ObjectDisposedException("This token is already disposed"); var result = new TemporaryResumeToken(parent); result.ResumeTemporarily(); result.Dispose(); }