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

Write57_XmlSchemaGroup() private method

private Write57_XmlSchemaGroup ( XmlSchemaGroup o ) : void
o System.Xml.Schema.XmlSchemaGroup
return void
        void Write57_XmlSchemaGroup(XmlSchemaGroup o) {
            if ((object)o == null) return;
            WriteStartElement("group");
            
            WriteAttribute(@"id", @"", ((System.String)o.@Id));
            WriteAttribute(@"name", @"", ((System.String)o.@Name));
            WriteAttributes((XmlAttribute[])o.@UnhandledAttributes, o);
            Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation);
            if (o.@Particle is XmlSchemaSequence) {
                Write54_XmlSchemaSequence((XmlSchemaSequence)o.@Particle);
            }
            else if (o.@Particle is XmlSchemaChoice) {
                Write52_XmlSchemaChoice((XmlSchemaChoice)o.@Particle);
            }
            else if (o.@Particle is XmlSchemaAll) {
                Write43_XmlSchemaAll((XmlSchemaAll)o.@Particle);
            }
            WriteEndElement();
        }
    }