예제 #1
0
 protected override Expression VisitPartialExpression(PartialExpression pex)
 {
     return Expression.Call(
         new Action<string, BindingContext, HandlebarsConfiguration>(InvokePartial).Method,
         Expression.Constant(pex.PartialName),
         _context.BindingContext,
         Expression.Constant(_context.Configuration));
 }
예제 #2
0
 protected override Expression VisitPartialExpression(PartialExpression pex)
 {
     return(Expression.Call(
                new Action <string, BindingContext, HandlebarsConfiguration>(InvokePartial).Method,
                Expression.Constant(pex.PartialName),
                _context.BindingContext,
                Expression.Constant(_context.Configuration)));
 }
 protected virtual Expression VisitPartialExpression(PartialExpression pex)
 {
     return pex;
 }
예제 #4
0
 protected virtual Expression VisitPartialExpression(PartialExpression pex)
 {
     return(pex);
 }