internal static string GetCompletedStateName(StateActivity state) { Debug.Assert(state != null); StateActivity rootState = GetRootState(state); return((string)rootState.GetValue(StateMachineWorkflowActivity.CompletedStateNameProperty)); }
internal static StateMachineExecutionState Get(StateActivity state) { Debug.Assert(StateMachineHelpers.IsRootState(state)); StateMachineExecutionState executionState = (StateMachineExecutionState)state.GetValue(StateActivity.StateMachineExecutionStateProperty); Debug.Assert(executionState != null); return(executionState); }
internal static string GetInitialStateName(StateActivity state) { StateActivity rootState = GetRootState(state); return((string)rootState.GetValue(StateMachineWorkflowActivity.InitialStateNameProperty)); }
internal static StateMachineExecutionState Get(StateActivity state) { Debug.Assert(StateMachineHelpers.IsRootState(state)); StateMachineExecutionState executionState = (StateMachineExecutionState)state.GetValue(StateActivity.StateMachineExecutionStateProperty); Debug.Assert(executionState != null); return executionState; }
internal static StateMachineExecutionState Get(StateActivity state) { return((StateMachineExecutionState)state.GetValue(StateActivity.StateMachineExecutionStateProperty)); }
internal static StateMachineExecutionState Get(StateActivity state) { return (StateMachineExecutionState) state.GetValue(StateActivity.StateMachineExecutionStateProperty); }