发布0115
大石头 authored at 2020-01-15 01:11:37
444.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