A few days ago, I recklessly added a [Serialization] attribute to a few of my immutable collection types. I needed to pass data between AppDomain's and adding [Serialization] was the quick and dirty fix. Compiled, ran and I didn't think much
Read More...
Recently I had to test a class which heavily depended upon a SynchronizationContext . This threw me off for about half an hour as I didn't want to write multi-threaded unit tests. Multi-threaded code is difficult enough without adding needless
Read More...
ISynchronizeInvoke is an interface which allows you to execute a delegate synchronously or asynchronously. The implementer of the interface can control how the delegate is executed. In particular the implementer controls on which thread the delegate is
Read More...