9.8.2018.0630
大石头 authored at 2018-06-30 11:15:32
460.00 B
X
using System;

#if NET4
namespace System.Runtime.CompilerServices
{
    /// <summary>±íʾΪÒì²½·½·¨Éú³ÉµÄ״̬»ú¡£´ËÀà±ð½ö¹©±àÒëÆ÷ʹÓá£</summary>
	public interface IAsyncStateMachine
	{
        /// <summary>Òƶ¯´Ë״̬»úÖÁÆäÏÂÒ»¸ö״̬¡£</summary>
		void MoveNext();

        /// <summary>ʹÓöѷÖÅäµÄ¸±±¾ÅäÖøÃ״̬»ú¡£</summary>
        /// <param name="stateMachine"></param>
		void SetStateMachine(IAsyncStateMachine stateMachine);
	}
}
#endif