Browse by Tags

All Tags » C# (RSS)
I've been writing one too many protected void OnThisEvent() and OnThatEvent() handlers lately, and what's bugging me the most is having to if (Event != null) every time. So I wrote a wee little helper giving me just a wee bit less code to write...
Posted by lea | with no comments
Filed under: ,
I had a small challenge today (yay!) when trying to localize some strings based on a boolean in the domain. Boolean's ToString() methods only returns the static strings "True" and "False", hence String.Format(MyLocalizedString...
Posted by lea | with no comments
Filed under: ,
I've had some fun with Python.Net today. I'm sure we can find some use for python scripting some time. Stepped over a few stones to get a working example running, here's a couple of points: - import CLR has to be stated to interact with .Net...
Posted by lea | with no comments
Filed under: , ,
[Edit: this post is not really on track, see my comment further down..] There's been quite a few blog posts about this, but I think we've come to a more or less working solution. An object without associations, and all properties with "Update...
Posted by lea | 2 comment(s)
Filed under: ,