// // filename.cs: // // Author: // John Donagher (john@webmeta.com) // // (C) 2002 John Donagher // using System; namespace System.Xml.Serialization { /// /// Summary description for XmlAnyElementAttribute. /// /// [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=true)] public class XmlAnyElementAttribute : Attribute { private string elementName; private string ns; public XmlAnyElementAttribute () { } public XmlAnyElementAttribute (string name) { elementName = name; } public XmlAnyElementAttribute (string name, string ns) { elementName = name; Namespace = ns; } public string Name { get { return elementName; } set { elementName = value; } } public string Namespace { get { return ns; } set { ns = value; } } internal bool InternalEquals (XmlAnyElementAttribute other) { if (other == null) return false; return (elementName == other.elementName && ns == other.ns); } } }