7:19 PM Sunday Nov 18, 2007
Comments: 0
A demonstration of using HyperActive to generate ActiveRecord classes at compile time. In the spirit of the release, it's accompanied by music from ACDC.
View it here.
Download the website here.
HyperActive on CodePlex.
7:20 AM Sunday Nov 18, 2007
Comments: 0
Docs and Screencast are on the way!
HyperActive on CodePlex.com.
8:27 PM Friday Nov 16, 2007
Comments: 0
I'm a big fan of prototype and one useful method is Try.these. There might be something like this already in the .NET framework, but here's my little helper class that somewhat emulates the same behavior:
public delegate T Func<T>();
public class Try{
public static T These<T>(params Func<T>[] functions){
T result = default(T);
foreach (Func<T> function in functions){
try{
result = function();
if (result != null)
{
return result;
}
}catch { }
}
return result;
}
}