2002-10-22 Tim Coleman (tim@timcoleman.com)
[mono.git] / mcs / class / Mono.Data.TdsClient / Mono.Data.TdsClient / TdsErrorCollection.cs
1 //
2 // Mono.Data.TdsClient.TdsErrorCollection.cs
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) 2002 Tim Coleman
8 //
9
10 using Mono.Data.TdsClient.Internal;
11 using System;
12 using System.Collections;
13
14 namespace Mono.Data.TdsClient {
15         public class TdsErrorCollection : ICollection, IEnumerable
16         {
17                 #region Fields
18
19                 ArrayList list = new ArrayList ();
20
21                 #endregion // Fields
22
23                 #region Properties
24
25                 public int Count {
26                         get { return list.Count; }
27                 }
28
29                 public TdsError this [int index] {
30                         get { return (TdsError) list[index]; }
31                 }
32
33                 bool ICollection.IsSynchronized {
34                         [MonoTODO]
35                         get { throw new NotImplementedException (); }
36                 }
37
38                 object ICollection.SyncRoot {
39                         [MonoTODO]
40                         get { throw new NotImplementedException (); }
41                 }
42
43                 #endregion // Properties
44
45                 #region Methods
46
47                 [MonoTODO]
48                 public void CopyTo (Array array, int index)
49                 {
50                         throw new NotImplementedException ();
51                 }
52
53                 public IEnumerator GetEnumerator ()
54                 {
55                         return list.GetEnumerator ();
56                 }
57
58                 #endregion // Methods
59         }
60 }