예제 #1
0
 internal PerspectiveIndependendState()
 {
     DefaultState = new TableDataState
     {
         DataStatePer = this
     };
 }
예제 #2
0
 internal void SelectPerspective(TablePerspective per)
 {
     if (per != null && !States.ContainsKey(per))
     {
         var state = new TableDataState();
         state.DataStatePer = this;
         state.Perspective  = per;
         States[per]        = state;
     }
     Perspective = per;
     if (per != null && m_missingActions.ContainsKey(per))
     {
         foreach (var act in m_missingActions[per])
         {
             act(States[per]);
         }
         m_missingActions[per].Clear();
     }
 }