1 //------------------------------------------------------------------------------
2 // <copyright file="ProcessModuleCollection.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //------------------------------------------------------------------------------
7 namespace System.Diagnostics {
9 using System.Collections;
10 using System.Diagnostics;
13 /// <para>[To be supplied.]</para>
15 public class ProcessModuleCollection : ReadOnlyCollectionBase {
17 /// <para>[To be supplied.]</para>
19 protected ProcessModuleCollection() {
23 /// <para>[To be supplied.]</para>
25 public ProcessModuleCollection(ProcessModule[] processModules) {
26 InnerList.AddRange(processModules);
30 /// <para>[To be supplied.]</para>
32 public ProcessModule this[int index] {
33 get { return (ProcessModule)InnerList[index]; }
37 /// <para>[To be supplied.]</para>
39 public int IndexOf(ProcessModule module) {
40 return InnerList.IndexOf(module);
44 /// <para>[To be supplied.]</para>
46 public bool Contains(ProcessModule module) {
47 return InnerList.Contains(module);
51 /// <para>[To be supplied.]</para>
53 public void CopyTo(ProcessModule[] array, int index) {
54 InnerList.CopyTo(array, index);
58 [Obsolete ("This API is no longer available", true)]
61 throw new NotSupportedException ();
64 throw new NotSupportedException ();
68 [Obsolete ("This API is no longer available", true)]
69 public void Add (ProcessModule item)
71 throw new NotSupportedException ();
74 [Obsolete ("This API is no longer available", true)]
75 public void AddRange (System.Collections.Generic.IEnumerable<ProcessModule> collection)
77 throw new NotSupportedException ();
80 [Obsolete ("This API is no longer available", true)]
81 public System.Collections.ObjectModel.ReadOnlyCollection<ProcessModule> AsReadOnly()
83 throw new NotSupportedException ();
86 [Obsolete ("This API is no longer available", true)]
87 public int BinarySearch(int index, int count, ProcessModule item, System.Collections.Generic.IComparer<ProcessModule> comparer)
89 throw new NotSupportedException ();
92 [Obsolete ("This API is no longer available", true)]
93 public int BinarySearch(ProcessModule item)
95 throw new NotSupportedException ();
98 [Obsolete ("This API is no longer available", true)]
99 public int BinarySearch(ProcessModule item, System.Collections.Generic.IComparer<ProcessModule> comparer)
101 throw new NotSupportedException ();
104 [Obsolete ("This API is no longer available", true)]
107 throw new NotSupportedException ();
110 [Obsolete ("This API is no longer available", true)]
111 public System.Collections.Generic.List<TOutput> ConvertAll<TOutput>(Converter<ProcessModule,TOutput> converter)
113 throw new NotSupportedException ();
116 [Obsolete ("This API is no longer available", true)]
117 public void CopyTo(ProcessModule[] array)
119 throw new NotSupportedException ();
122 [Obsolete ("This API is no longer available", true)]
123 public void CopyTo(int index, ProcessModule[] array, int arrayIndex, int count)
125 throw new NotSupportedException ();
128 [Obsolete ("This API is no longer available", true)]
129 public bool Exists(Predicate<ProcessModule> match)
131 throw new NotSupportedException ();
134 [Obsolete ("This API is no longer available", true)]
135 public ProcessModule Find(Predicate<ProcessModule> match)
137 throw new NotSupportedException ();
140 [Obsolete ("This API is no longer available", true)]
141 public System.Collections.Generic.List<ProcessModule> FindAll(Predicate<ProcessModule> match)
143 throw new NotSupportedException ();
146 [Obsolete ("This API is no longer available", true)]
147 public int FindIndex(Predicate<ProcessModule> match)
149 throw new NotSupportedException ();
152 [Obsolete ("This API is no longer available", true)]
153 public int FindIndex(int startIndex, Predicate<ProcessModule> match)
155 throw new NotSupportedException ();
158 [Obsolete ("This API is no longer available", true)]
159 public int FindIndex(int startIndex, int count, Predicate<ProcessModule> match)
161 throw new NotSupportedException ();
164 [Obsolete ("This API is no longer available", true)]
165 public ProcessModule FindLast(Predicate<ProcessModule> match)
167 throw new NotSupportedException ();
170 [Obsolete ("This API is no longer available", true)]
171 public int FindLastIndex(Predicate<ProcessModule> match)
173 throw new NotSupportedException ();
176 [Obsolete ("This API is no longer available", true)]
177 public int FindLastIndex(int startIndex, Predicate<ProcessModule> match)
179 throw new NotSupportedException ();
182 [Obsolete ("This API is no longer available", true)]
183 public int FindLastIndex(int startIndex, int count, Predicate<ProcessModule> match)
185 throw new NotSupportedException ();
188 [Obsolete ("This API is no longer available", true)]
189 public void ForEach(Action<ProcessModule> action)
191 throw new NotSupportedException ();
194 [Obsolete ("This API is no longer available", true)]
195 public System.Collections.Generic.List<ProcessModule> GetRange(int index, int count)
197 throw new NotSupportedException ();
200 [Obsolete ("This API is no longer available", true)]
201 public int IndexOf(ProcessModule item, int index)
203 throw new NotSupportedException ();
206 [Obsolete ("This API is no longer available", true)]
207 public int IndexOf(ProcessModule item, int index, int count)
209 throw new NotSupportedException ();
212 [Obsolete ("This API is no longer available", true)]
213 public void Insert(int index, ProcessModule item)
215 throw new NotSupportedException ();
218 [Obsolete ("This API is no longer available", true)]
219 public void InsertRange(int index, System.Collections.Generic.IEnumerable<ProcessModule> collection)
221 throw new NotSupportedException ();
224 [Obsolete ("This API is no longer available", true)]
225 public int LastIndexOf(ProcessModule item)
227 throw new NotSupportedException ();
230 [Obsolete ("This API is no longer available", true)]
231 public int LastIndexOf(ProcessModule item, int index)
233 throw new NotSupportedException ();
236 [Obsolete ("This API is no longer available", true)]
237 public int LastIndexOf(ProcessModule item, int index, int count)
239 throw new NotSupportedException ();
242 [Obsolete ("This API is no longer available", true)]
243 public bool Remove(ProcessModule item)
245 throw new NotSupportedException ();
248 [Obsolete ("This API is no longer available", true)]
249 public int RemoveAll(Predicate<ProcessModule> match)
251 throw new NotSupportedException ();
254 [Obsolete ("This API is no longer available", true)]
255 public void RemoveAt(int index)
257 throw new NotSupportedException ();
260 [Obsolete ("This API is no longer available", true)]
261 public void RemoveRange(int index, int count)
263 throw new NotSupportedException ();
266 [Obsolete ("This API is no longer available", true)]
267 public void Reverse()
269 throw new NotSupportedException ();
272 [Obsolete ("This API is no longer available", true)]
273 public void Reverse(int index, int count)
275 throw new NotSupportedException ();
278 [Obsolete ("This API is no longer available", true)]
281 throw new NotSupportedException ();
284 [Obsolete ("This API is no longer available", true)]
285 public void Sort(System.Collections.Generic.IComparer<ProcessModule> comparer)
287 throw new NotSupportedException ();
290 [Obsolete ("This API is no longer available", true)]
291 public void Sort(int index, int count, System.Collections.Generic.IComparer<ProcessModule> comparer)
293 throw new NotSupportedException ();
296 [Obsolete ("This API is no longer available", true)]
297 public void Sort(Comparison<ProcessModule> comparison)
299 throw new NotSupportedException ();
302 [Obsolete ("This API is no longer available", true)]
303 public ProcessModule[] ToArray()
305 throw new NotSupportedException ();
308 [Obsolete ("This API is no longer available", true)]
309 public void TrimExcess()
311 throw new NotSupportedException ();
314 [Obsolete ("This API is no longer available", true)]
315 public bool TrueForAll(Predicate<ProcessModule> match)
317 throw new NotSupportedException ();