protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
if (IsSetTotalResults()) {
xml.Append("<TotalResults>");
xml.Append(this.TotalResults);
xml.Append("</TotalResults>");
}
if (IsSetTotalPages()) {
xml.Append("<TotalPages>");
xml.Append(this.TotalPages);
xml.Append("</TotalPages>");
}
List<SellerListing> sellerListingList = this.SellerListing;
foreach (SellerListing sellerListing in sellerListingList) {
xml.Append("<SellerListing>");
xml.Append(sellerListing.ToXMLFragment());
xml.Append("</SellerListing>");
}
return xml.ToString();
}