예제 #1
0
 protected AnomalousMvcContext(LoadInfo info)
 {
     StartupAction          = info.GetString("StartupAction");
     ShutdownAction         = info.GetString("ShutdownAction");
     ResumeAction           = info.GetString("ResumeAction", null);
     SuspendAction          = info.GetString("SuspendAction", null);
     RemovedFromStackAction = info.GetString("RemovedFromStackAction", null);
     FocusAction            = info.GetString("FocusAction", null);
     BlurAction             = info.GetString("BlurAction", null);
     controllers            = info.GetValue <ControllerCollection>("Controllers");
     views  = info.GetValue <ViewCollection>("Views");
     models = info.GetValue <ModelCollection>("Models", null);
 }
예제 #2
0
 public AnomalousMvcContext()
 {
     controllers = new ControllerCollection();
     views       = new ViewCollection();
     models      = new ModelCollection();
 }