Updates referencesource to .NET 4.7
[mono-project.git] / mcs / class / referencesource / System.Xml / System / Xml / Schema / XmlSchemaComplexContentExtension.cs
blobba4213a297c3f0d48274c98c81160b5fd0e9b9c7
1 //------------------------------------------------------------------------------
2 // <copyright file="XmlSchemaComplexContentExtension.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
8 namespace System.Xml.Schema {
10 using System.Collections;
11 using System.Xml.Serialization;
13 /// <include file='doc\XmlSchemaComplexContentExtension.uex' path='docs/doc[@for="XmlSchemaComplexContentExtension"]/*' />
14 /// <devdoc>
15 /// <para>[To be supplied.]</para>
16 /// </devdoc>
17 public class XmlSchemaComplexContentExtension : XmlSchemaContent {
18 XmlSchemaParticle particle;
19 XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection();
20 XmlSchemaAnyAttribute anyAttribute;
21 XmlQualifiedName baseTypeName = XmlQualifiedName.Empty;
23 /// <include file='doc\XmlSchemaComplexContentExtension.uex' path='docs/doc[@for="XmlSchemaComplexContentExtension.BaseTypeName"]/*' />
24 /// <devdoc>
25 /// <para>[To be supplied.]</para>
26 /// </devdoc>
27 [XmlAttribute("base")]
28 public XmlQualifiedName BaseTypeName {
29 get { return baseTypeName; }
30 set { baseTypeName = (value == null ? XmlQualifiedName.Empty : value); }
33 /// <include file='doc\XmlSchemaComplexContentExtension.uex' path='docs/doc[@for="XmlSchemaComplexContentExtension.Particle"]/*' />
34 /// <devdoc>
35 /// <para>[To be supplied.]</para>
36 /// </devdoc>
37 [XmlElement("group", typeof(XmlSchemaGroupRef)),
38 XmlElement("choice", typeof(XmlSchemaChoice)),
39 XmlElement("all", typeof(XmlSchemaAll)),
40 XmlElement("sequence", typeof(XmlSchemaSequence))]
41 public XmlSchemaParticle Particle {
42 get { return particle; }
43 set { particle = value; }
46 /// <include file='doc\XmlSchemaComplexContentExtension.uex' path='docs/doc[@for="XmlSchemaComplexContentExtension.Attributes"]/*' />
47 /// <devdoc>
48 /// <para>[To be supplied.]</para>
49 /// </devdoc>
50 [XmlElement("attribute", typeof(XmlSchemaAttribute)),
51 XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))]
52 public XmlSchemaObjectCollection Attributes {
53 get { return attributes; }
57 /// <include file='doc\XmlSchemaComplexContentExtension.uex' path='docs/doc[@for="XmlSchemaComplexContentExtension.AnyAttribute"]/*' />
58 /// <devdoc>
59 /// <para>[To be supplied.]</para>
60 /// </devdoc>
61 [XmlElement("anyAttribute")]
62 public XmlSchemaAnyAttribute AnyAttribute {
63 get { return anyAttribute; }
64 set { anyAttribute = value; }
67 internal void SetAttributes(XmlSchemaObjectCollection newAttributes) {
68 attributes = newAttributes;