(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / class / System / System.Configuration / ConfigurationElementCollection.cs
blob88ec66447f8d3b999d7e6f88b1c7ca401abbe6ed
1 //
2 // System.Configuration.ConfigurationElementCollection.cs
3 //
4 // Authors:
5 // Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2004
9 //
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
17 //
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
20 //
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
32 #if NET_2_0 && XML_DEP
34 using System.Collections;
35 using System.Xml;
37 namespace System.Configuration
39 public abstract class ConfigurationElementCollection : ConfigurationElement, ICollection, IEnumerable
41 #region Constructors
43 [MonoTODO]
44 protected ConfigurationElementCollection ()
46 throw new NotImplementedException ();
49 #endregion // Constructors
51 #region Properties
53 [MonoTODO]
54 protected virtual ConfigurationElementCollectionType CollectionType {
55 get { throw new NotImplementedException (); }
58 [MonoTODO]
59 public virtual int Count {
60 get { throw new NotImplementedException (); }
63 [MonoTODO]
64 protected virtual string ElementName {
65 get { throw new NotImplementedException (); }
68 [MonoTODO]
69 public bool EmitClear {
70 get { throw new NotImplementedException (); }
73 [MonoTODO]
74 bool ICollection.IsSynchronized {
75 get { throw new NotImplementedException (); }
78 [MonoTODO]
79 object ICollection.SyncRoot {
80 get { throw new NotImplementedException (); }
83 [MonoTODO]
84 protected virtual bool ThrowOnDuplicate {
85 get { throw new NotImplementedException (); }
88 #endregion // Properties
90 #region Methods
92 [MonoTODO]
93 protected virtual void BaseAdd (ConfigurationElement element)
95 throw new NotImplementedException ();
98 [MonoTODO]
99 protected virtual void BaseAdd (ConfigurationElement element, bool throwIfExists)
101 throw new NotImplementedException ();
104 [MonoTODO]
105 protected virtual void BaseAdd (int index, ConfigurationElement element)
107 throw new NotImplementedException ();
110 [MonoTODO]
111 protected internal void BaseClear ()
113 throw new NotImplementedException ();
116 [MonoTODO]
117 protected internal ConfigurationElement BaseGet (int index)
119 throw new NotImplementedException ();
122 [MonoTODO]
123 protected internal ConfigurationElement BaseGet (object key)
125 throw new NotImplementedException ();
128 [MonoTODO]
129 protected internal string[] BaseGetAllKeys ()
131 throw new NotImplementedException ();
134 [MonoTODO]
135 protected internal string BaseGetKey (int index)
137 throw new NotImplementedException ();
140 [MonoTODO]
141 protected int BaseIndexOf (ConfigurationElement element)
143 throw new NotImplementedException ();
146 [MonoTODO]
147 protected internal bool BaseIsRemoved (object key)
149 throw new NotImplementedException ();
152 [MonoTODO]
153 protected internal void BaseRemove (object key)
155 throw new NotImplementedException ();
158 [MonoTODO]
159 protected internal void BaseRemoveAt (int index)
161 throw new NotImplementedException ();
164 [MonoTODO]
165 protected virtual bool CompareKeys (object key1, object key2)
167 throw new NotImplementedException ();
170 [MonoTODO]
171 public void CopyTo (ConfigurationElement[] array, int index)
173 throw new NotImplementedException ();
176 protected abstract ConfigurationElement CreateNewElement ();
178 [MonoTODO]
179 protected virtual ConfigurationElement CreateNewElement (string elementName)
181 throw new NotImplementedException ();
184 [MonoTODO]
185 public override bool Equals (object compareTo)
187 throw new NotImplementedException ();
191 protected abstract object GetElementKey (ConfigurationElement element);
193 [MonoTODO]
194 public override int GetHashCode ()
196 throw new NotImplementedException ();
199 [MonoTODO]
200 protected override bool HandleUnrecognizedElement (string elementName, XmlReader reader)
202 throw new NotImplementedException ();
205 [MonoTODO]
206 void ICollection.CopyTo (Array arr, int index)
208 throw new NotImplementedException ();
211 [MonoTODO]
212 IEnumerator IEnumerable.GetEnumerator ()
214 throw new NotImplementedException ();
217 [MonoTODO]
218 protected virtual bool IsElementName (string elementName)
220 throw new NotImplementedException ();
223 [MonoTODO]
224 protected virtual bool IsElementRemovable (ConfigurationElement element)
226 throw new NotImplementedException ();
229 [MonoTODO]
230 protected internal override bool IsModified ()
232 throw new NotImplementedException ();
235 [MonoTODO]
236 protected internal override void Reset (ConfigurationElement parentElement, object context)
238 throw new NotImplementedException ();
241 [MonoTODO]
242 protected internal override void ResetModified ()
244 throw new NotImplementedException ();
247 [MonoTODO]
248 protected internal override bool Serialize (XmlWriter writer, bool serializeCollectionKey)
250 throw new NotImplementedException ();
253 [MonoTODO]
254 protected internal override void UnMerge (ConfigurationElement sourceElement, ConfigurationElement parentElement, bool serializeCollectionKey, object context, ConfigurationUpdateMode updateMode)
256 throw new NotImplementedException ();
259 #endregion // Methods
263 #endif