Transition 類別

定義

製作可能狀態變更清單的模型。Models the list of possible state changes.

public ref class Transition sealed
public sealed class Transition
type Transition = class
Public NotInheritable Class Transition
繼承
Transition

建構函式

Transition()

初始化 Transition 類別的新執行個體。Initializes a new instance of the Transition class.

屬性

Action

取得或設定轉換期間執行的活動。Gets or sets the activity performed during a transition.

Condition

指定啟動觸發活動時轉換測試的條件。Specifies the condition the transition is testing when the trigger activity is activated.

DisplayName

取得或設定選擇性的易記名稱,這個名稱會用於偵錯、驗證、例外狀況處理及追蹤。Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.

To

取得或設定狀態機器中完成轉換後執行的下一個狀態。Gets or sets the next state in the state machine to execute after the transition is completed.

Trigger

取得或設定完成時會啟動此轉換的活動。Gets or sets the activity whose completion activates this transition.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於