Ejemplo n.º 1
0
        /// <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();
        }
Ejemplo n.º 2
0
            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();
            }
Ejemplo n.º 3
0
		/// <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();
		}
Ejemplo n.º 4
0
			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();
			}