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
|