Пример #1
0
    public Zone(Dictionary<string, object> data) {
      Id = (string)data["id"];
      isDefault = (bool)data["default"];
      precache = (bool)data["precache"];
      suspendOnShow = (bool)data["suspendOnShow"];

      _adapterManager = new AdapterManager(Id, (List<object>)data["adapters"]);
    }
Пример #2
0
        public Zone(Dictionary <string, object> data)
        {
            Id            = (string)data["id"];
            isDefault     = (bool)data["default"];
            precache      = (bool)data["precache"];
            suspendOnShow = (bool)data["suspendOnShow"];

            _adapterManager = new AdapterManager(Id, (List <object>)data["adapters"]);
        }