Share via


Free Code: WriteOnlySet

So had a fun business entity that needed a write only set of data that contained no duplicates (involved a security auditing trail if you care to know). That's when I realized we didn't have anything like this in the BCL. So here's a fun little ISet<T> implementation that proxies any existing set to provide those semantics.

WriteOnlySet{T}.cs