Example #1
0
        private Expression Build(TodayNode node)
        {
            var mi          = typeof(DateTime).GetProperty("Now", BindingFlags.Public | BindingFlags.Static).GetGetMethod();
            var contextCall = Expression.Call(mi);

            return(contextCall);
        }
 private Type Build(TodayNode node)
 {
     return(typeof(DateTime));
 }