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

Write38_XmlSchemaSimpleContentExtension() private method

private Write38_XmlSchemaSimpleContentExtension ( XmlSchemaSimpleContentExtension o ) : void
o System.Xml.Schema.XmlSchemaSimpleContentExtension
return void
        void Write38_XmlSchemaSimpleContentExtension(XmlSchemaSimpleContentExtension o) {
            if ((object)o == null) return;
            WriteStartElement("extension");
            
            WriteAttribute(@"id", @"", ((System.String)o.@Id));
            WriteAttributes((XmlAttribute[])o.@UnhandledAttributes, o);
            if ([email protected]){
                WriteAttribute(@"base", @"", o.@BaseTypeName);
            }
            Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation);
            WriteSortedItems(o.Attributes);
            Write33_XmlSchemaAnyAttribute((XmlSchemaAnyAttribute)o.@AnyAttribute);
            WriteEndElement();
        }