DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 637 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

Nextender Subscribe to this feed
Nextender
Profile Kicked Submitted Comments Tags Friends Kicked By Friends Submitted By Friends

Stories submitted by Nextender
1
kicks
submitted by Nextender 8 months, 27 days ago

nextension.blogspot.com — On regular basis several repeating code blocks appear in projects source code. Wouldn't it be great if we could just say: here is my method, do call within TCF block ("try - catch - finally" block) first time I need it, but I may require to call it with "try - catch" block only next time or with other catch block content (say I had logging there, but decided to remove or replace it for some special cases of this method call): // Like this return MyMethod1.TCF(ex => Log(ex), arg => DoSomeFinallyAction(arg))(arg); read more...

Add a comment add a comment | category: | Views: 2
tags: , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads by The Lounge