2 // XmlArrayAttribute.cs:
5 // John Donagher (john@webmeta.com)
7 // (C) 2002 John Donagher
10 using System.Xml.Schema;
\r
13 namespace System.Xml.Serialization
\r
16 /// Summary description for XmlArrayAttribute.
\r
18 [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field
\r
19 | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
\r
20 public class XmlArrayAttribute : Attribute
\r
22 private string elementName;
\r
23 private XmlSchemaForm form;
\r
24 private bool isNullable;
\r
27 public XmlArrayAttribute()
\r
31 public XmlArrayAttribute(string elementName)
\r
33 ElementName = elementName;
\r
36 public string ElementName
\r
44 elementName = value;
\r
47 public XmlSchemaForm Form
\r
58 public bool IsNullable
\r
69 public string Namespace
\r
81 internal bool InternalEquals (XmlArrayAttribute other)
\r
83 if (other == null) return false;
\r
84 return (elementName == other.elementName &&
\r
85 form == other.form &&
\r
86 isNullable == other.isNullable &&
\r