Free Code: Windsor Castle Autofactory Facility

So I recently was working on a system that used extensive need of delayed factory support for dependencies on our components. Effectively if ClassDepending needed to use ClassDepended, the constructor parameter was instead Func<ClassDepended>. This solution was built on Windsor container. Having to remember to register all those custom factories in our bootstrap routines was becoming a huge…

0

Free Code: WriteOnlySet<T>

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…

0