diff options
-rw-r--r-- | mcs/class/System.Web.Services/System.Web.Services/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System.Web.Services/System.Web.Services/WebServicesDescriptionAttribute.cs | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/mcs/class/System.Web.Services/System.Web.Services/ChangeLog b/mcs/class/System.Web.Services/System.Web.Services/ChangeLog index ac8ee365922..a2938d3a798 100644 --- a/mcs/class/System.Web.Services/System.Web.Services/ChangeLog +++ b/mcs/class/System.Web.Services/System.Web.Services/ChangeLog @@ -1,3 +1,8 @@ +2002-08-15 Tim Coleman <tim@timcoleman.com> + * WebServicesDescriptionAttribute: + Added Description property. Should've known I spoke + too soon about being complete. :-) + 2002-08-07 Tim Coleman <tim@timcoleman.com> * WebMethodAttribute.cs: Remove FIXME and reorganize constructors to all diff --git a/mcs/class/System.Web.Services/System.Web.Services/WebServicesDescriptionAttribute.cs b/mcs/class/System.Web.Services/System.Web.Services/WebServicesDescriptionAttribute.cs index b1dca68abea..84905edc486 100644 --- a/mcs/class/System.Web.Services/System.Web.Services/WebServicesDescriptionAttribute.cs +++ b/mcs/class/System.Web.Services/System.Web.Services/WebServicesDescriptionAttribute.cs @@ -13,9 +13,21 @@ namespace System.Web.Services { [AttributeUsage (AttributeTargets.Property | AttributeTargets.Event)]
internal class WebServicesDescriptionAttribute : DescriptionAttribute {
+ #region Constructors
+
public WebServicesDescriptionAttribute (string description)
: base (description)
{
}
+
+ #endregion // Constructors
+
+ #region Properties
+
+ public override string Description {
+ get { return DescriptionValue; }
+ }
+
+ #endregion // Properties
}
}
|