コード例 #1
0
 /// <inheritdoc />
 public override bool IfNotContains(T item, Action <HashSet <T> > action) => !InternalSource.Contains(item) && base.IfNotContains(item, action);
コード例 #2
0
        // Asumes that .Contains is a thread-safe read-only operation.
        // But any potentially iterative operation will be locked.

        /// <inheritdoc />
        public override bool Contains(T item) => InternalSource.Contains(item);