public void Insert(Int32 index, ALaCarteItemData value) { if (!immutable) { List.Insert(index, value); } else { throw new System.Data.ReadOnlyException(); } }
public void Add(ALaCarteItemData value) { if (!immutable) { List.Add(value); } else { throw new System.Data.ReadOnlyException(); } }
public Int32 Compare(Object a, Object b) { ALaCarteItemData o1 = (ALaCarteItemData)a; ALaCarteItemData o2 = (ALaCarteItemData)b; if (o1 == null || o2 == null || !o1.Price.IsValid || !o2.Price.IsValid) { return(0); } return(o1.Price.CompareTo(o2.Price)); }
public Int32 IndexOf(ALaCarteItemData value) { return(List.IndexOf(value)); }
public Boolean Contains(ALaCarteItemData value) { return(List.Contains(value)); }