3 * Namespace : System.Web.UI.MobileControls
4 * Class : ArrayListCollectionBase
5 * Author : Gaurav Vaish
7 * Copyright : 2003 with Gaurav Vaish, and with
11 using System.Collections;
13 namespace System.Web.UI.MobileControls
15 public class ArrayListCollectionBase : ICollection, IEnumerable
17 private ArrayList items;
18 internal ArrayListCollectionBase()
22 internal ArrayListCollectionBase(ArrayList items)
31 return (items == null ? 0 : items.Count);
35 public bool IsReadOnly
39 return (items == null ? false : items.IsReadOnly);
43 public bool IsSynchronized
51 public object SyncRoot
59 protected ArrayList Items
64 items = new ArrayList();
73 public void CopyTo(Array array, int index)
75 Items.CopyTo(array, index);
78 public IEnumerator GetEnumerator()
80 return Items.GetEnumerator();