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

Write32_XmlSchemaAttributeGroupRef() private method

private Write32_XmlSchemaAttributeGroupRef ( XmlSchemaAttributeGroupRef o ) : void
o System.Xml.Schema.XmlSchemaAttributeGroupRef
return void
        void Write32_XmlSchemaAttributeGroupRef(XmlSchemaAttributeGroupRef o) {
            if ((object)o == null) return;
            WriteStartElement("attributeGroup");
            
            WriteAttribute(@"id", @"", ((System.String)o.@Id));

            if (!o.RefName.IsEmpty) {
                WriteAttribute("ref", "", o.RefName);
            }
            WriteAttributes((XmlAttribute[])o.@UnhandledAttributes, o);
            Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation);
            WriteEndElement();
        }