首页> 外文期刊>MSDN Magazine >Expression Trees in Visua Basic and C#
【24h】

Expression Trees in Visua Basic and C#

机译:Visual Basic和C#中的表达式树

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Imagine if you had Objects that represented parts of a program. Your code could combine these parts in various ways, creating an object that represented a new program. You could compile this object into a new program and run it; your program could even rewrite its own logic. You could passthisobject to a different environment, where the individual parts would be parsed as a set of instructions to be run in this other environment. Welcome to expression trees. This article aims to provide a high-level overview of expression trees, their use in modeling code operations and runtime code compilation, and how to create and transform them.
机译:想象一下,如果您有代表程序一部分的对象。您的代码可以通过各种方式组合这些部分,从而创建一个代表新程序的对象。您可以将该对象编译成新程序并运行;您的程序甚至可以重写自己的逻辑。您可以将此对象传递到另一个环境,在该环境中,各个部分将被解析为一组指令,以在该另一个环境中运行。欢迎来到表情树。本文旨在提供表达式树的高级概述,它们在建模代码操作和运行时代码编译中的用法,以及如何创建和转换它们。

著录项

  • 来源
    《MSDN Magazine》 |2019年第9期|36-42|共7页
  • 作者

    Zev Spitz;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号