Amazon.ECS.Model.CollectionSummary.ToXMLFragment C# (CSharp) Метод

ToXMLFragment() защищенный Метод

XML fragment representation of this object
Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only
protected ToXMLFragment ( ) : String
Результат String
        protected internal String ToXMLFragment()
        {
            StringBuilder xml = new StringBuilder();
            if (IsSetLowestListPrice()) {
                Price  lowestListPrice = this.LowestListPrice;
                xml.Append("<LowestListPrice>");
                xml.Append(lowestListPrice.ToXMLFragment());
                xml.Append("</LowestListPrice>");
            }
            if (IsSetHighestListPrice()) {
                Price  highestListPrice = this.HighestListPrice;
                xml.Append("<HighestListPrice>");
                xml.Append(highestListPrice.ToXMLFragment());
                xml.Append("</HighestListPrice>");
            }
            if (IsSetLowestSalePrice()) {
                Price  lowestSalePrice = this.LowestSalePrice;
                xml.Append("<LowestSalePrice>");
                xml.Append(lowestSalePrice.ToXMLFragment());
                xml.Append("</LowestSalePrice>");
            }
            if (IsSetHighestSalePrice()) {
                Price  highestSalePrice = this.HighestSalePrice;
                xml.Append("<HighestSalePrice>");
                xml.Append(highestSalePrice.ToXMLFragment());
                xml.Append("</HighestSalePrice>");
            }
            return xml.ToString();
        }