Exemplo n.º 1
0
 public static ChoNotNullableArrayList ReadOnly(ChoNotNullableArrayList list)
 {
     if (list == null)
     {
         throw new ArgumentNullException("list");
     }
     return(new ChoReadOnlyArrayList(list));
 }
Exemplo n.º 2
0
 public static ChoNotNullableArrayList FixedSize(ChoNotNullableArrayList list)
 {
     if (list == null)
     {
         throw new ArgumentNullException("list");
     }
     return(new ChoFixedSizeArrayList(list));
 }
Exemplo n.º 3
0
 public static ChoNotNullableArrayList Synchronized(ChoNotNullableArrayList list)
 {
     if (list == null)
     {
         throw new ArgumentNullException("list");
     }
     return(new ChoSynchronizedArrayList(list));
 }
Exemplo n.º 4
0
 // Methods
 internal ChoReadOnlyArrayList(ChoNotNullableArrayList l)
 {
     this._list = l;
 }
Exemplo n.º 5
0
 // Methods
 internal ChoFixedSizeArrayList(ChoNotNullableArrayList l)
 {
     this._list = l;
 }
Exemplo n.º 6
0
 // Methods
 internal ChoSynchronizedArrayList(ChoNotNullableArrayList list)
     : base(false)
 {
     this._list = list;
     this._root = list.SyncRoot;
 }