c#中的代码生成器

编程入门 行业动态 更新时间:2024-10-27 16:36:31
本文介绍了c#中的代码生成器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我的名字是Jasmin Solanki,我在bca和我们的项目中我想在​​c#中创建一个代码生成器,如果有人有想法那么告诉我并解释一下它

My name is Jasmin Solanki and i am in bca and in our project i want to make a code generator in c# if anyone have idea then tell me and explain me about it

推荐答案

首先,什么是代码生成? 根据 wiki : First, what is Code Generation ? As per wiki : Quote:

源代码生成是基于诸如模板之类的本体模型生成源代码的行为,并且是通过编程工具(如模板)完成的处理器或IDE。这些工具允许通过各种方式生成源代码。宏处理器,比如C预处理器,根据相对简单的规则替换源代码中的模式,是源代码生成器的一种简单形式。

Source code generation is the act of generating source code based on an ontological model such as a template and is accomplished with a programming tool such as a template processor or an IDE. These tools allow the generation of source code through any of various means. A macro processor, such as the C preprocessor, which replaces patterns in source code according to relatively simple rules, is a simple form of source code generator.

我建议你先看看在自动编程 [ ^ ]然后: blogs.msdn/b/thottams/archive/2006/08/16/701872.aspx [ ^ ] www.sirchristian/blog/2013/07/17 / code-generation-with-c-part-3 / [ ^ ] -KR

I would suggest you to first look at Automatic Programming[^] and then this : blogs.msdn/b/thottams/archive/2006/08/16/701872.aspx[^] www.sirchristian/blog/2013/07/17/code-generation-with-c-part-3/[^] -KR

1。您可以从以下网址获得一些想法: http://www.sirchristian / blog / 2013/02/19 / code-generation-and-you / [ ^ ] 2.尝试免费代码生成器 [ ^ ] 1. You may be able to get some ideas from :www.sirchristian/blog/2013/02/19/code-generation-and-you/[^] 2. Experiment with Free Code Generator[^]

更多推荐

c#中的代码生成器

本文发布于:2023-11-10 09:18:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1574977.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:代码生成器

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!