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