public ControllersS(ModelServer model, ControllerServer controller) { cMap = new CMap(model); cInfoUsers = new CInfoUsers(model); cPlay = new CPlay(model); cStart = new CStart(model); cServer = controller; }
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); }