private void ExportDescritorRefs(XmlWriter file, Behavior b) { //if (Plugin.IsQueryFiltered) //{ // return; //} if (b.DescriptorRefs.Count > 0) { file.WriteStartElement("property"); string propValue = DesignerArray.RetrieveExportValue(b.DescriptorRefs); file.WriteAttributeString("DescriptorRefs", propValue); file.WriteEndElement(); } { string propValue = b.Domains; if (!string.IsNullOrEmpty(propValue)) { file.WriteStartElement("property"); file.WriteAttributeString("Domains", propValue); file.WriteEndElement(); } } }
private void SaveDescriptorRefs(XmlElement root, Behavior b) { XmlElement elem = _xmlfile.CreateElement("DescriptorRefs"); string value = DesignerArray.RetrieveExportValue(b.DescriptorRefs); elem.SetAttribute("value", value); root.AppendChild(elem); }
private void ExportDescritorRefs(BsonSerializer file, Behavior b) { if (b.DescriptorRefs.Count == 0) { return; } string propValue = DesignerArray.RetrieveExportValue(b.DescriptorRefs); file.WriteAttributeString("DescriptorRefs", propValue); }
private void ExportDescritorRefs(XmlWriter file, Behavior b) { if (b.DescriptorRefs.Count == 0) { return; } file.WriteStartElement("property"); string propValue = DesignerArray.RetrieveExportValue(b.DescriptorRefs); file.WriteAttributeString("DescriptorRefs", propValue); file.WriteEndElement(); }
private void ExportDescritorRefs(BsonSerializer file, Behavior b) { if (Plugin.IsQueryFiltered) { return; } if (b.DescriptorRefs.Count > 0) { string propValue = DesignerArray.RetrieveExportValue(b.DescriptorRefs); file.WriteAttributeString("DescriptorRefs", propValue); } string propValue2 = b.Domains; if (!string.IsNullOrEmpty(propValue2)) { file.WriteAttributeString("Domains", propValue2); } }
private void ExportDescritorRefs(JObject file, Behavior b) { //if (Plugin.IsQueryFiltered) //{ // return; //} if (b.DescriptorRefs.Count > 0) { string propValue = DesignerArray.RetrieveExportValue(b.DescriptorRefs); file.Add("DescriptorRefs", propValue); } string propValue2 = b.Domains; if (!string.IsNullOrEmpty(propValue2)) { file.Add("Domains", propValue2); } }