首页> 外文期刊>MSDN Magazine >Bring the Power of Templates to Your .NET Applications with the CodeDOM Namespace
【24h】

Bring the Power of Templates to Your .NET Applications with the CodeDOM Namespace

机译:使用CodeDOM命名空间为您的.NET应用程序带来模板的功能

获取原文
获取原文并翻译 | 示例
           

摘要

In the .NET Framework, the CodeDOM object model can represent code in a variety of languages. This article examines how source code templates written with the Framework's System.CodeDom and System.CodeDom.Com-piler namespaces allow developers to create reusable boilerplate source code that can be shared between projects. Components designed via templates improve productivity and shorten development time. Here C++-style classes and templates are simulated and code is generated in multiple languages through the creation of CodeDOM object graphs. Compiling object graphs and formatting output code are also explained.
机译:在.NET Framework中,CodeDOM对象模型可以表示多种语言的代码。本文研究了用Framework的System.CodeDom和System.CodeDom.Com-piler命名空间编写的源代码模板如何允许开发人员创建可在项目之间共享的可重用样板源代码。通过模板设计的组件可提高生产率并缩短开发时间。这里模拟了C ++风格的类和模板,并通过创建CodeDOM对象图以多种语言生成代码。还说明了编译对象图和格式化输出代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号