public void AddPoint(Vector2 point) { if (!Points.Contains(point)) { Points.Add(point); } }
public void AddEdge(Edge edge) { if (!Edges.Contains(edge)) { Edges.Add(edge); } }
private readonly Generic.List <int> Xobjs = new Generic.List <int>(); // XObjects used by page ( typically images ) private void NoteXobj(int objnum) { if (!Xobjs.Contains(objnum)) { Xobjs.Add(objnum); } }
public bool Contains(TT item) { return(LocalList.Contains(item)); }