Exemplo n.º 1
0
 public ControllersS(ModelServer model, ControllerServer controller)
 {
     cMap       = new CMap(model);
     cInfoUsers = new CInfoUsers(model);
     cPlay      = new CPlay(model);
     cStart     = new CStart(model);
     cServer    = controller;
 }
Exemplo n.º 2
0
 public ControllerServer(ModelServer model)        //основа
 {
     this.model = model;
     CTransfers.jss.Converters.Add(new Newtonsoft.Json.Converters.JavaScriptDateTimeConverter());
     CTransfers.jss.NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore;
     CTransfers.jss.TypeNameHandling  = Newtonsoft.Json.TypeNameHandling.All;
     CTransfers.jss.Formatting        = Newtonsoft.Json.Formatting.Indented;
     new ControllersS(model, this);
 }