예제 #1
0
 public static void PropertyHelper(
     RenderContext ctx,
     IList<object> args,
     IDictionary<string, object> options,
     RenderBlock fn,
     RenderBlock inverse)
 {
     try
     {
         ctx.Write(GetPropertyValue(args.FirstArg(), 
             args.SecondStringArg(), args.ThirdStringArg()));
     }
     catch (Exception exception)
     {
         ctx.Write(exception.ToString());
     }
 }