merge from trunk revisions 58933, 58935, 58936
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / ProfilePropertySettingsCollection.cs
1 //
2 // System.Web.Configuration.ProfilePropertySettingsCollection
3 //
4 // Authors:
5 //      Chris Toshok (toshok@ximian.com)
6 //
7 // (C) 2005 Novell, Inc (http://www.novell.com)
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30
31 #if NET_2_0
32
33 using System;
34 using System.Configuration;
35 using System.Xml;
36
37 namespace System.Web.Configuration
38 {
39         [ConfigurationCollection (typeof (ProfilePropertySettings), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap)]
40         public class ProfilePropertySettingsCollection : ConfigurationElementCollection
41         {
42                 [MonoTODO]
43                 public ProfilePropertySettingsCollection ()
44                 {
45                         throw new NotImplementedException ();
46                 }
47
48                 [MonoTODO]
49                 public void Add (ProfilePropertySettings propertySettings)
50                 {
51                         throw new NotImplementedException ();
52                 }
53
54                 [MonoTODO]
55                 public void Clear ()
56                 {
57                         throw new NotImplementedException ();
58                 }
59
60                 [MonoTODO]
61                 protected override ConfigurationElement CreateNewElement ()
62                 {
63                         throw new NotImplementedException ();
64                 }
65
66                 [MonoTODO]
67                 public ProfilePropertySettings Get (int index)
68                 {
69                         throw new NotImplementedException ();
70                 }
71
72                 [MonoTODO]
73                 public ProfilePropertySettings Get (string name)
74                 {
75                         throw new NotImplementedException ();
76                 }
77
78                 [MonoTODO]
79                 protected override object GetElementKey (ConfigurationElement element)
80                 {
81                         throw new NotImplementedException ();
82                 }
83
84                 [MonoTODO]
85                 public string GetKey (int index)
86                 {
87                         throw new NotImplementedException ();
88                 }
89
90                 [MonoTODO]
91                 public int IndexOf (ProfilePropertySettings propertySettings)
92                 {
93                         throw new NotImplementedException ();
94                 }
95
96                 [MonoTODO]
97                 protected override bool OnDeserializeUnrecognizedElement (string elementName, XmlReader reader)
98                 {
99                         throw new NotImplementedException ();
100                 }
101
102                 [MonoTODO]
103                 public void Remove (string name)
104                 {
105                         throw new NotImplementedException ();
106                 }
107
108                 [MonoTODO]
109                 public void RemoveAt (int index)
110                 {
111                         throw new NotImplementedException ();
112                 }
113
114                 [MonoTODO]
115                 public void Set (ProfilePropertySettings propertySettings)
116                 {
117                         throw new NotImplementedException ();
118                 }
119
120                 [MonoTODO]
121                 public string[ ] AllKeys {
122                         get {
123                                 throw new NotImplementedException ();
124                         }
125                 }
126
127                 [MonoTODO]
128                 protected virtual bool AllowClear {
129                         get {
130                                 throw new NotImplementedException ();
131                         }
132                 }
133
134                 [MonoTODO]
135                 protected override ConfigurationPropertyCollection Properties {
136                         get {
137                                 throw new NotImplementedException ();
138                         }
139                 }
140
141                 public ProfilePropertySettings this[int index] {
142                         get { return (ProfilePropertySettings) BaseGet (index); }
143                         set { if (BaseGet (index) != null) BaseRemoveAt (index); BaseAdd (index, value); }
144                 }
145
146                 [MonoTODO]
147                 public new ProfilePropertySettings this[string name] {
148                         get {
149                                 throw new NotImplementedException ();
150                         }
151                 }
152
153                 [MonoTODO]
154                 protected override bool ThrowOnDuplicate {
155                         get {
156                                 throw new NotImplementedException ();
157                         }
158                 }
159
160         }
161 }
162
163 #endif