2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Data / System.Data / ResDescriptionAttribute.cs
1 // 
2 // System.Data/ResDescriptionAttribute.cs
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2002
8 //
9
10 using System;
11 using System.ComponentModel;
12
13 namespace System.Data {
14         [AttributeUsage (AttributeTargets.All)]
15         internal sealed class ResDescriptionAttribute : DescriptionAttribute
16         {
17                 #region Fields
18
19                 string description;
20
21                 #endregion // Fields
22
23                 #region Constructors
24
25                 public ResDescriptionAttribute (string description)
26                         : base (description)
27                 {
28                         this.description = description; 
29                 }
30
31                 #endregion // Constructors
32
33                 #region Properties
34
35                 public override string Description {
36                         get { return description; }
37                 }
38
39                 #endregion // Properties
40         }
41 }