* TimeoutException.cs:
[mono.git] / mcs / class / System.ServiceProcess / System.ServiceProcess / ServiceControllerPermissionEntryCollection.cs
1 //
2 // System.ServiceProcess.ServiceControllerPermissionEntry.cs
3 //
4 // Author:
5 //      Duncan Mak (duncan@ximian.com)
6 //
7 // (C) 2003, Ximian Inc.
8 //
9
10 using System;
11 using System.Collections;
12
13 namespace System.ServiceProcess {
14
15         [Serializable]
16         public class ServiceControllerPermissionEntryCollection : CollectionBase
17         {
18                 
19                 public ServiceControllerPermissionEntry this [int index] {
20
21                         get { return base.List [index] as ServiceControllerPermissionEntry; }
22
23                         set { base.List [index] = value; }
24
25                 }
26
27                 public int Add (ServiceControllerPermissionEntry value)
28                 {
29                         return base.List.Add (value);
30                 }
31
32                 public void AddRange (ServiceControllerPermissionEntry [] value)
33                 {
34                         foreach (ServiceControllerPermissionEntry entry in value)
35                                 base.List.Add (entry);
36                 }
37
38                 public void AddRange (ServiceControllerPermissionEntryCollection value)
39                 {
40                         foreach (ServiceControllerPermissionEntry entry in value)
41                                 base.List.Add (entry);
42                 }
43
44                 public bool Contains (ServiceControllerPermissionEntry value)
45                 {
46                         return base.List.Contains (value);
47                 }
48
49                 public void CopyTo (ServiceControllerPermissionEntry [] array, int index)
50                 {
51                         base.List.CopyTo (array, index);
52                 }
53
54                 public int IndexOf (ServiceControllerPermissionEntry value)
55                 {
56                         return base.List.IndexOf (value);
57                 }
58
59                 public void Insert (int index, ServiceControllerPermissionEntry value)
60                 {
61                         base.List.Insert (index, value);
62                 }
63
64                 public void Remove (ServiceControllerPermissionEntry value)
65                 {
66                         base.List.Remove (value);
67                 }
68
69                 protected override void OnClear () {}
70
71                 protected override void OnInsert (int index, object value) {}
72
73                 protected override void OnRemove (int index, object value) {}
74
75                 protected override void OnSet (int index, object oldValue, object newValue) {}
76         }
77 }