randomactsofcoding.wordpress.com
Self-Checking Your Singletons | public class Random : Coding {
https://randomactsofcoding.wordpress.com/2013/09/05/self-checking-your-singletons
Public class Random : Coding {. Arkane Systems and Alistair Young present a miscellany of open-source tidbits. In further ongoing experimenting with ways I can use PostSharp to improve my code, here’s the SingletonConstraint – which doesn’t add so much value in and of itself, but rather provides the valuable service of ensuring that I’ve got my singleton idiom (a) right every time, and perhaps more importantly, (b) the. This entry was posted in Uncategorized. September 5, 2013. Call Me, Maybe? You are co...
randomactsofcoding.wordpress.com
Forcing a binding to refresh | public class Random : Coding {
https://randomactsofcoding.wordpress.com/2013/03/22/forcing-a-binding-to-refresh
Public class Random : Coding {. Arkane Systems and Alistair Young present a miscellany of open-source tidbits. Forcing a binding to refresh. The simple, the obvious, the almost always entirely forgotten by me:. This entry was posted in Uncategorized. And tagged data binding. March 22, 2013. Call Me, Maybe? Leave a Reply Cancel reply. Enter your comment here. Fill in your details below or click an icon to log in:. Address never made public). You are commenting using your Twitter account. ( Log Out.
randomactsofcoding.wordpress.com
Call Me, Maybe? | public class Random : Coding {
https://randomactsofcoding.wordpress.com/2013/09/03/call-me-maybe
Public class Random : Coding {. Arkane Systems and Alistair Young present a miscellany of open-source tidbits. Call Me, Maybe? Today’s problem has been the ever-vexing problem of external services that are. One could write an intercepting class or subclass to introduce the requisite unreliability for test purposes, I suppose, and ifdef it out of the release version, but that’s also an ugly solution. Fortunately, I’ve just started using PostSharp. Which makes this kind of thing gratifyingly easy. Thus:.
randomactsofcoding.wordpress.com
Apartment Aspect | public class Random : Coding {
https://randomactsofcoding.wordpress.com/2014/01/17/77
Public class Random : Coding {. Arkane Systems and Alistair Young present a miscellany of open-source tidbits. Yeah, COM’s annoyingly legacy, but when you have to, you have to, right? This entry was posted in Uncategorized. January 17, 2014. Leave a Reply Cancel reply. Enter your comment here. Fill in your details below or click an icon to log in:. Address never made public). You are commenting using your WordPress.com account. ( Log Out. You are commenting using your Twitter account. ( Log Out.
randomactsofcoding.wordpress.com
Alistair Young | public class Random : Coding {
https://randomactsofcoding.wordpress.com/author/eldraeverse
Public class Random : Coding {. Arkane Systems and Alistair Young present a miscellany of open-source tidbits. Author Archives: Alistair Young. A professional dilettante, Alistair Young was born in England and now lives in Wichita, Kansas with his wife and two dogs. One morning, he woke up with a universe in his head, and knowing this was a sign of either insanity or literature, started writing and hopes for the best. I’m just all about murdering the boilerplate recently. January 21, 2014. In further ong...
randomactsofcoding.wordpress.com
UnlessDisposedAspect | public class Random : Coding {
https://randomactsofcoding.wordpress.com/2014/01/21/unlessdisposedaspect
Public class Random : Coding {. Arkane Systems and Alistair Young present a miscellany of open-source tidbits. I’m just all about murdering the boilerplate recently. This aspect implements the “do not allow any public methods to be called after the object has been disposed” pattern for you, thereby trimming an arbitrarily large number of once-a-method:. If (disposed) throw new ObjectDisposedException (this.GetType().FullName) ;. Out of your code and replacing it with one simple. January 21, 2014.