Updates referencesource to .NET 4.7
[mono-project.git] / mcs / class / referencesource / System.Xml / System / Xml / Schema / XmlSchemaImport.cs
blob68aa2a3febbd1611d01f034e796d58a53f63e91a
1 //------------------------------------------------------------------------------
2 // <copyright file="XmlSchemaImport.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.Xml.Serialization;
12 /// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport"]/*' />
13 /// <devdoc>
14 /// <para>[To be supplied.]</para>
15 /// </devdoc>
16 public class XmlSchemaImport : XmlSchemaExternal {
17 string ns;
18 XmlSchemaAnnotation annotation;
20 /// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport.XmlSchemaImport"]/*' />
21 public XmlSchemaImport() {
22 Compositor = Compositor.Import;
25 /// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport.Namespace"]/*' />
26 [XmlAttribute("namespace", DataType="anyURI")]
27 public string Namespace {
28 get { return ns; }
29 set { ns = value; }
32 /// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport.Annotation"]/*' />
33 [XmlElement("annotation", typeof(XmlSchemaAnnotation))]
34 public XmlSchemaAnnotation Annotation {
35 get { return annotation; }
36 set { annotation = value; }
39 internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
40 this.annotation = annotation;