e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
44 lines
1.7 KiB
C#
44 lines
1.7 KiB
C#
//------------------------------------------------------------------------------
|
|
// <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;
|
|
}
|
|
}
|
|
}
|