Пример #1
0
 /// <summary>
 /// Updates the objects.
 /// </summary>
 /// <param name="o">The o.</param>
 /// <param name="e">The updateViewOnChange.</param>
 public void UpdateObjects(object o, updateViewOnChange e)
 {
     foreach (MVC_Controller controller in e.attachedControllers)
     {
         controller.eventTriggered();
     }
     foreach (MVC_View view in e.attachedViews)
     {
         view.eventTriggered();
     }
 }
Пример #2
0
 /// <summary>
 /// Updates the objects.
 /// </summary>
 /// <param name="o">The o.</param>
 /// <param name="e">The updateViewOnChange.</param>
 public void UpdateObjects(object o, updateViewOnChange e)
 {
     foreach (MVC_Controller controller in e.attachedControllers)
     {
         controller.eventTriggered();
     }
     foreach (MVC_View view in e.attachedViews)
     {
         view.eventTriggered();
     }
 }