public ColorableClass Add(ColorableClass node) { if (!NodesToNotify.Contains(node)) { NodesToNotify.Add(node); } return(node); }
public bool Contains([NotNull] T item) { lock (_sync) { return(FilteredList.Contains(item)); } }