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