47b6874c5e8903e5928055dec35f15c9e88b96a1
[mono.git] / mcs / class / System.DirectoryServices / System.DirectoryServices / SchemaNameCollection.cs
1 /******************************************************************************
2 * The MIT License
3 * Copyright (c) 2003 Novell Inc.,  www.novell.com
4
5 * Permission is hereby granted, free of charge, to any person obtaining  a copy
6 * of this software and associated documentation files (the Software), to deal
7 * in the Software without restriction, including  without limitation the rights
8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
9 * copies of the Software, and to  permit persons to whom the Software is 
10 * furnished to do so, subject to the following conditions:
11
12 * The above copyright notice and this permission notice shall be included in 
13 * all copies or substantial portions of the Software.
14
15 * THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 * SOFTWARE.
22 *******************************************************************************/
23
24 //
25 // System.DirectoryServices.SchemaNameCollection.cs
26 //
27 // Author:
28 //   Sunil Kumar (sunilk@novell.com)
29 //
30 // (C)  Novell Inc.
31 //
32
33 using System.Collections;
34
35 namespace System.DirectoryServices
36 {
37         
38         /// <summary>
39         ///Contains a list of the schema names that the
40         /// SchemaFilter property of a DirectoryEntries
41         ///  object can use.
42         /// </summary>
43         public class SchemaNameCollection : IList, ICollection, IEnumerable
44         {
45                 int IList.Add(object avalue)
46                 {
47                         throw new NotImplementedException();
48                 }
49                 void IList.Clear()
50                 {
51                                 throw new NotImplementedException();
52                 }
53                 bool IList.Contains(object cvalue)
54                 {
55                                 throw new NotImplementedException();
56                 }
57                 int IList.IndexOf(object ivalue)
58                 {
59                                 throw new NotImplementedException();
60                 }
61                 void IList.Insert(int index,object ivalue)
62                 {
63                                 throw new NotImplementedException();
64                 }
65                 void IList.Remove(object rvalue)
66                 {
67                                 throw new NotImplementedException();
68                 }
69                 void IList.RemoveAt(int index)
70                 {
71                                         throw new NotImplementedException();
72                 }
73                 
74             bool IList.IsFixedSize 
75                 {
76                         get
77                         {
78                                 return true;
79                         }
80                 }
81
82                 bool IList.IsReadOnly 
83                 {
84                         get
85                         {
86                                 return true;
87                         }
88                 }
89                 object IList.this[int recordIndex] 
90                 {
91                         get 
92                         {
93                                 throw new InvalidOperationException();
94                         }
95                         set
96                         {
97                                 throw new InvalidOperationException();
98                         }
99                 }
100
101                 public void CopyTo(Array array,int index)
102                 {
103                                 throw new NotImplementedException();
104                 }
105
106                 public int Count 
107                 {
108                         get
109                         {
110                                 return 0;
111                         }
112                 }
113                 public bool IsSynchronized 
114                 {
115                         get
116                         {
117                                 return true;
118                         }
119                 }
120
121                 object ICollection.SyncRoot { 
122                         get {
123                                 // FIXME:
124                                 return this;
125                         }
126                 }
127
128                 public IEnumerator GetEnumerator() 
129                 {
130                                 throw new NotImplementedException();
131                 }
132
133         
134         }
135
136 }
137