Search This Site
Older Posts
- February 2016
- June 2015
- October 2014
- June 2014
- March 2014
- July 2013
- June 2013
- May 2013
- January 2013
- December 2012
- November 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- February 2010
- October 2009
- September 2009
- March 2009
- February 2009
- January 2009
- December 2008
Categories
Category Archives: CodeRush
CodeRush Template for INotifyPropertyChanged
Updated 6/6/14: @MarkMiller found my tweet the referred to this blog post and kindly pointed out that I had reinvented the wheel. If your class implements INotifyPropertyChanged, you could use the standard “p(type)” expansion and it’ll put in the property … Continue reading
Posted in CodeRush, Programming
2 Comments
CodeRush FTW: Reorder Attributes
Check out this code block within an ASP.NET forms application: It’s quite wide, and the repetitive attributes that I mostly don’t care about are left-most. It’d be nice to move the “runat” and “EmbedInDiv” attributes to the end of these … Continue reading
Posted in CodeRush, Programming
Leave a comment
log4net Template for CodeRush
If you use log4net for logging in the traditional way you end up having a lot of classes with the following line: <span style="color: #0000FF;">Private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Shared</span><span style="color: #000000;"> mLog </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> log4net.ILog </span><span … Continue reading
Posted in CodeMinder, CodeRush
Leave a comment