| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- //
- // SoapAttributeAttribute.cs:
- //
- // Author:
- // John Donagher ([email protected])
- //
- // (C) 2002 John Donagher
- //
- using System;
- namespace System.Xml.Serialization
- {
- /// <summary>
- /// Summary description for SoapAttributeAttribute.
- /// </summary>
- [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field
- | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
- public class SoapAttributeAttribute : Attribute
- {
- private string attrName;
- private string dataType;
- private string ns;
- public SoapAttributeAttribute ()
- {
- }
- public SoapAttributeAttribute (string attrName)
- {
- AttributeName = attrName;
- }
- public string AttributeName {
- get {
- return attrName;
- }
- set {
- attrName = value;
- }
- }
- public string DataType {
- get {
- return dataType;
- }
- set {
- dataType = value;
- }
- }
- public string Namespace {
- get {
- return ns;
- }
- set {
- ns = value;
- }
- }
-
- internal bool InternalEquals (SoapAttributeAttribute other)
- {
- if (other == null) return false;
- return (attrName == other.attrName &&
- dataType == other.dataType &&
- ns == other.ns);
- }
- }
- }
|