GeometryGym.Ifc.IfcPropertyEnumeratedValue.setJSON C# (CSharp) Method

setJSON() protected method

protected setJSON ( Newtonsoft.Json.Linq.JObject obj, BaseClassIfc host, HashSet processed ) : void
obj Newtonsoft.Json.Linq.JObject
host BaseClassIfc
processed HashSet
return void
        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);
        }