Ejemplo n.º 1
0
 public static void ProcessSubreportLinks(SubreportLinks sls, XmlWriter xmlw)
 {
     xmlw.WriteStartElement("SubreportLinks");
     xmlw.WriteAttributeString("Count", sls.Count.ToStringSafe());
     foreach (SubreportLink sl in sls)
     {
         ProcessSubreportLink(sl, xmlw);
     }
     xmlw.WriteEndElement();
 }
Ejemplo n.º 2
0
 public static void ProcessSubreportLinks(SubreportLinks sls, Utf8JsonWriter jsonw)
 {
     jsonw.WritePropertyName("SubreportLinks");
     jsonw.WriteStartObject();
     jsonw.WriteString("Count", sls.Count.ToStringSafe());
     jsonw.WritePropertyName("Items");
     jsonw.WriteStartArray();
     foreach (SubreportLink sl in sls)
     {
         ProcessSubreportLink(sl, jsonw);
     }
     jsonw.WriteEndArray();
     jsonw.WriteEndObject();
 }