Пример #1
0
 public override CodeExpression GetCodeExpression(BoundPropertyEntry entry, object parsedData, ExpressionBuilderContext context)
 {
     return(CodeExpressionHelper.MakeStaticMethodInvokeExpression(
                typeof(LocalizationExtensions), "Localize", entry.Expression.Trim()
                ));
 }
Пример #2
0
 public override CodeExpression GetCodeExpression(BoundPropertyEntry entry, object parsedData, ExpressionBuilderContext context)
 {
     return(CodeExpressionHelper.MakeStaticMethodInvokeExpression(
                typeof(WebAreaCommonResources), "ProvideURLFor", entry.Expression.Trim()
                ));
 }