Amazon.ECS.Model.Information.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();
            List<OperationInformation> operationInformationList = this.OperationInformation;
            foreach (OperationInformation operationInformation in operationInformationList) {
                xml.Append("<OperationInformation>");
                xml.Append(operationInformation.ToXMLFragment());
                xml.Append("</OperationInformation>");
            }
            List<ResponseGroupInformation> responseGroupInformationList = this.ResponseGroupInformation;
            foreach (ResponseGroupInformation responseGroupInformation in responseGroupInformationList) {
                xml.Append("<ResponseGroupInformation>");
                xml.Append(responseGroupInformation.ToXMLFragment());
                xml.Append("</ResponseGroupInformation>");
            }
            return xml.ToString();
        }