protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options) { base.setJSON(obj, host, options); obj["EnumerationValues"] = new JArray(EnumerationValues.ToList().ConvertAll(x => DatabaseIfc.extract(x))); if (mEnumerationReference > 0) { obj["EnumerationReference"] = EnumerationReference.getJson(this, options); } }
protected override void setJSON(JObject obj, BaseClassIfc host, HashSet <int> processed) { base.setJSON(obj, host, processed); obj["EnumerationValues"] = new JArray(EnumerationValues.ConvertAll(x => DatabaseIfc.extract(x))); if (mEnumerationReference > 0) { obj["EnumerationReference"] = EnumerationReference.getJson(this, processed); } }