protected override IClientModel VisitWriteExpressionNode(WriteExpressionNode writeExpressionNode) { var result = this.VisitExpressionNode(writeExpressionNode.Expression); if (writeExpressionNode.HtmlEncode) { _clientContext.WriteEncodeExpression(result); } else { _clientContext.WriteExpression(result); } return(result); }
public void WriteExpression(IClientModel model) { _adaptee.WriteExpression(model); }