You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -0,0 +1,65 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <copyright file="XmlSchemaAnnotated.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
// <owner current="true" primary="true">[....]</owner>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace System.Xml.Schema {
|
||||
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
/// <include file='doc\XmlSchemaAnnotated.uex' path='docs/doc[@for="XmlSchemaAnnotated"]/*' />
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]</para>
|
||||
/// </devdoc>
|
||||
public class XmlSchemaAnnotated : XmlSchemaObject {
|
||||
string id;
|
||||
XmlSchemaAnnotation annotation;
|
||||
XmlAttribute[] moreAttributes;
|
||||
|
||||
/// <include file='doc\XmlSchemaAnnotated.uex' path='docs/doc[@for="XmlSchemaAnnotated.Id"]/*' />
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]</para>
|
||||
/// </devdoc>
|
||||
[XmlAttribute("id", DataType="ID")]
|
||||
public string Id {
|
||||
get { return id; }
|
||||
set { id = value; }
|
||||
}
|
||||
|
||||
/// <include file='doc\XmlSchemaAnnotated.uex' path='docs/doc[@for="XmlSchemaAnnotated.Annotation"]/*' />
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]</para>
|
||||
/// </devdoc>
|
||||
[XmlElement("annotation", typeof(XmlSchemaAnnotation))]
|
||||
public XmlSchemaAnnotation Annotation {
|
||||
get { return annotation; }
|
||||
set { annotation = value; }
|
||||
}
|
||||
|
||||
/// <include file='doc\XmlSchemaAnnotated.uex' path='docs/doc[@for="XmlSchemaAnnotated.UnhandledAttributes"]/*' />
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]</para>
|
||||
/// </devdoc>
|
||||
[XmlAnyAttribute]
|
||||
public XmlAttribute[] UnhandledAttributes {
|
||||
get { return moreAttributes; }
|
||||
set { moreAttributes = value; }
|
||||
}
|
||||
|
||||
[XmlIgnore]
|
||||
internal override string IdAttribute {
|
||||
get { return Id; }
|
||||
set { Id = value; }
|
||||
}
|
||||
|
||||
internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes) {
|
||||
this.moreAttributes = moreAttributes;
|
||||
}
|
||||
internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
|
||||
this.annotation = annotation;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user