2004-04-22 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Configuration / XmlFormatExtensionPointAttribute.cs
1  // \r
2 // System.Web.Services.Configuration.XmlFormatExtensionPointAttribute.cs\r
3 //\r
4 // Author:\r
5 //   Tim Coleman (tim@timcoleman.com)\r
6 //\r
7 // Copyright (C) Tim Coleman, 2002\r
8 //\r
9 \r
10 namespace System.Web.Services.Configuration {\r
11         [AttributeUsage (AttributeTargets.Class, Inherited = true)]\r
12         public sealed class XmlFormatExtensionPointAttribute : Attribute {\r
13 \r
14                 #region Fields\r
15 \r
16                 bool allowElements;\r
17                 string memberName;\r
18 \r
19                 #endregion // Fields\r
20 \r
21                 #region Constructors\r
22 \r
23                 public XmlFormatExtensionPointAttribute (string memberName)\r
24                 {\r
25                         this.memberName = memberName;\r
26                         allowElements = false; // FIXME\r
27                 }\r
28 \r
29                 #endregion // Constructors\r
30 \r
31                 #region Properties\r
32 \r
33                 public bool AllowElements {\r
34                         get { return allowElements; }\r
35                         set { allowElements = value; }\r
36                 }\r
37 \r
38                 public string MemberName {      \r
39                         get { return memberName; }\r
40                         set { memberName = value; }\r
41                 }\r
42 \r
43                 #endregion // Properties\r
44         }\r
45 }