Shallow history representation
Inheritance: State
コード例 #1
0
		public static State GetDeepState(HistoryState historyState, TransitionEvent transitionEvent)
		{
			return transitionEvent.SourceState;
		}
コード例 #2
0
		public State Build(State parent)
		{
			HistoryState state = new HistoryState(parent, historyStrategy);

			return state;
		}
コード例 #3
0
		public static State GetShallowState(HistoryState historyState, TransitionEvent transitionEvent)
		{
			State sourceState = transitionEvent.SourceState;
			return historyState.Parent.GetSubstatePath(sourceState);
		}
コード例 #4
0
		protected HistoryStateBuilder(IStateBuilder parent, HistoryState.HistoryFetchStrategy historyStrategy)
		{
			this.id = new HistoryStateId(parent.Id);
			this.historyStrategy = historyStrategy;
		}