Initial commit
[mono.git] / mcs / class / referencesource / System.Xml / System / Xml / Serialization / XmlSchemaProviderAttribute.cs
1
2 //------------------------------------------------------------------------------
3 // <copyright file="XmlSchemaProviderAttribute.cs" company="Microsoft">
4 //     Copyright (c) Microsoft Corporation.  All rights reserved.
5 // </copyright>
6 // <owner current="true" primary="true">[....]</owner>                                                                
7 //------------------------------------------------------------------------------
8
9 namespace System.Xml.Serialization {
10     using System;
11     using System.Xml.Schema;
12
13     /// <include file='doc\XmlSchemaProviderAttribute.uex' path='docs/doc[@for="XmlSchemaProviderAttribute"]/*' />
14     /// <devdoc>
15     ///    <para>[To be supplied.]</para>
16     /// </devdoc>
17     [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct)]
18     public sealed class XmlSchemaProviderAttribute : System.Attribute {
19         string methodName;
20         bool any;
21         
22         /// <include file='doc\XmlSchemaProviderAttribute.uex' path='docs/doc[@for="XmlSchemaProviderAttribute.XmlSchemaProviderAttribute"]/*' />
23         /// <devdoc>
24         ///    <para>[To be supplied.]</para>
25         /// </devdoc>
26         public XmlSchemaProviderAttribute(string methodName) {
27             this.methodName = methodName;
28         }
29         
30         /// <include file='doc\XmlSchemaProviderAttribute.uex' path='docs/doc[@for="XmlSchemaProviderAttribute.MethodName"]/*' />
31         /// <devdoc>
32         ///    <para>[To be supplied.]</para>
33         /// </devdoc>
34         public string MethodName {
35             get { return methodName; }
36         }
37
38         /// <include file='doc\XmlSchemaProviderAttribute.uex' path='docs/doc[@for="XmlSchemaProviderAttribute.IsAny"]/*' />
39         /// <devdoc>
40         ///    <para>[To be supplied.]</para>
41         /// </devdoc>
42         public bool IsAny {
43             get { return any; }
44             set {  any = value; }
45         }
46     }
47 }