System.Xml.Serialization.SchemaObjectWriter.Write43_XmlSchemaAll C# (CSharp) Method

Write43_XmlSchemaAll() private method

private Write43_XmlSchemaAll ( XmlSchemaAll o ) : void
o System.Xml.Schema.XmlSchemaAll
return void
        void Write43_XmlSchemaAll(XmlSchemaAll o) {
            if ((object)o == null) return;
            WriteStartElement("all");
            
            WriteAttribute(@"id", @"", ((System.String)o.@Id));
            WriteAttribute("minOccurs", "", XmlConvert.ToString(o.MinOccurs));
            WriteAttribute("maxOccurs", "", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.ToString(o.MaxOccurs));
            WriteAttributes((XmlAttribute[])o.@UnhandledAttributes, o);
            Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation);
            WriteSortedItems(o.@Items);
            WriteEndElement();
        }