public override BaseState Visit_Initial(State_Initial state) { state.Request = new PendingRequest { PresentOption = PresentOption, Next = Next, }; return(state); }
partial void Constructed__AnimatedEntrance() { m_delay = new DispatcherTimer( s_delayDuration.TimeSpan, DispatcherPriority.ApplicationIdle, OnDelay, Dispatcher ); m_delay.Stop(); m_currentState = new State_Initial { Owner = this, }; Children = new ObservableCollection <UIElement> (); }
public override BaseState Visit_Initial(State_Initial state) { var request = state.Request; var firstChild = state.Owner.Children.FirstOrDefault(c => c != null); if (request != null && request.Next != null) { return(state.EdgeFrom_Initial_To_PresentingContent(request.Next)); } else if (firstChild != null) { return(state.EdgeFrom_Initial_To_PresentingContent(firstChild)); } else { return(state.EdgeFrom_Initial_To_PresentingContent(null)); } }
public override BaseState Visit_Initial(State_Initial state) { state.Request = new PendingRequest { PresentOption = PresentOption , Next = Next , }; return state; }
public override BaseState Visit_Initial(State_Initial state) { var request = state.Request; var firstChild = state.Owner.Children.FirstOrDefault (c => c != null); if (request != null && request.Next != null) { return state.EdgeFrom_Initial_To_PresentingContent(request.Next); } else if (firstChild != null) { return state.EdgeFrom_Initial_To_PresentingContent(firstChild); } else { return state.EdgeFrom_Initial_To_PresentingContent(null); } }
partial void Constructed__AnimatedEntrance() { m_delay = new DispatcherTimer ( s_delayDuration.TimeSpan, DispatcherPriority.ApplicationIdle, OnDelay, Dispatcher ); m_delay.Stop (); m_currentState = new State_Initial { Owner = this, }; Children = new ObservableCollection<UIElement> (); }
public override BaseState Visit_Initial(State_Initial state) { return(state); }
public override BaseState Visit_Initial(State_Initial state) { throw new ArgumentException("state"); }
public abstract BaseState Visit_Initial(State_Initial state);