/// <summary> /// 离开状态时调用。 /// </summary> /// <param name="procedureOwner">流程持有者。</param> /// <param name="isShutdown">是否是关闭状态机时触发。</param> protected internal override void OnLeave(ProcedureOwner procedureOwner, bool isShutdown) { base.OnLeave(procedureOwner, isShutdown); CLog.LogProcedure("Leave '{0}' procedure.", GetType().FullName); }
/// <summary> /// 进入状态时调用。 /// </summary> /// <param name="procedureOwner">流程持有者。</param> protected internal override void OnEnter(ProcedureOwner procedureOwner) { base.OnEnter(procedureOwner); CLog.LogProcedure("Enter '{0}' procedure.", GetType().FullName); }