2016-08-03 10:59:49 +00:00
|
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
// <copyright file="XmlSchemaProviderAttribute.cs" company="Microsoft">
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// </copyright>
|
2017-08-21 15:34:15 +00:00
|
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
namespace System.Xml.Serialization {
|
|
|
|
using System;
|
|
|
|
using System.Xml.Schema;
|
|
|
|
|
|
|
|
/// <include file='doc\XmlSchemaProviderAttribute.uex' path='docs/doc[@for="XmlSchemaProviderAttribute"]/*' />
|
|
|
|
/// <devdoc>
|
|
|
|
/// <para>[To be supplied.]</para>
|
|
|
|
/// </devdoc>
|
|
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct)]
|
|
|
|
public sealed class XmlSchemaProviderAttribute : System.Attribute {
|
|
|
|
string methodName;
|
|
|
|
bool any;
|
|
|
|
|
|
|
|
/// <include file='doc\XmlSchemaProviderAttribute.uex' path='docs/doc[@for="XmlSchemaProviderAttribute.XmlSchemaProviderAttribute"]/*' />
|
|
|
|
/// <devdoc>
|
|
|
|
/// <para>[To be supplied.]</para>
|
|
|
|
/// </devdoc>
|
|
|
|
public XmlSchemaProviderAttribute(string methodName) {
|
|
|
|
this.methodName = methodName;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <include file='doc\XmlSchemaProviderAttribute.uex' path='docs/doc[@for="XmlSchemaProviderAttribute.MethodName"]/*' />
|
|
|
|
/// <devdoc>
|
|
|
|
/// <para>[To be supplied.]</para>
|
|
|
|
/// </devdoc>
|
|
|
|
public string MethodName {
|
|
|
|
get { return methodName; }
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <include file='doc\XmlSchemaProviderAttribute.uex' path='docs/doc[@for="XmlSchemaProviderAttribute.IsAny"]/*' />
|
|
|
|
/// <devdoc>
|
|
|
|
/// <para>[To be supplied.]</para>
|
|
|
|
/// </devdoc>
|
|
|
|
public bool IsAny {
|
|
|
|
get { return any; }
|
|
|
|
set { any = value; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|