2 // System.Data.ObjectSpaces.ObjectList.cs
\r
5 // Mark Easton (mark.easton@blinksoftware.co.uk)
\r
7 // (C) BLiNK Software Ltd. http://www.blinksoftware.co.uk
\r
12 using System.Collections;
\r
14 namespace System.Data.ObjectSpaces
\r
17 public class ObjectList : ICollection, IEnumerable, IList
\r
21 public ObjectList () : this (typeof (ArrayList), null) {}
\r
24 public ObjectList (Type type, object[] parameters)
\r
26 if (type == null || !(type is IList))
\r
27 throw ObjectException.CreateObjectException ();
\r
36 private bool ICollection.IsSynchronized {
\r
37 get { throw new NotImplementedException (); }
\r
41 private object ICollection.SyncRoot {
\r
42 get { throw new NotImplementedException (); }
\r
46 public IList InnerList {
\r
47 get { return null; }
\r
51 public bool IsFixedSize {
\r
52 get { return false; }
\r
56 public bool IsReadOnly {
\r
57 get { return false; }
\r
61 public object this[int index] {
\r
62 get { throw new NotImplementedException (); }
\r
63 set { throw new NotImplementedException (); }
\r
67 public int Add (object value)
\r
73 public void Clear () {}
\r
76 public bool Contains (object value)
\r
82 public void CopyTo (Array array, int index) {}
\r
86 public IEnumerator GetEnumerator ()
\r
92 public int IndexOf (object value)
\r
98 public void Insert (int index, object value) {}
\r
101 public void Remove (object value) {}
\r
104 public void RemoveAt (int index) {}
\r