blob: 4683a0a74eaada3adc778161093143189766dc1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
//------------------------------------------------------------------------------
// <copyright file="XmlSchemaImport.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
//------------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Xml.Serialization;
/// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport"]/*' />
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public class XmlSchemaImport : XmlSchemaExternal {
string ns;
XmlSchemaAnnotation annotation;
/// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport.XmlSchemaImport"]/*' />
public XmlSchemaImport() {
Compositor = Compositor.Import;
}
/// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport.Namespace"]/*' />
[XmlAttribute("namespace", DataType="anyURI")]
public string Namespace {
get { return ns; }
set { ns = value; }
}
/// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport.Annotation"]/*' />
[XmlElement("annotation", typeof(XmlSchemaAnnotation))]
public XmlSchemaAnnotation Annotation {
get { return annotation; }
set { annotation = value; }
}
internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
this.annotation = annotation;
}
}
}
|