生成C#自动属性与codeDOM [英] Generate C# automatic properties with Codedom

查看:269
本文介绍了生成C#自动属性与codeDOM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法生成C#自动属性与codeDOM 也许是另一套libreries,我可以使用吗?

is there a way Generate C# automatic properties with Codedom or maybe an other set of libreries that i can use ?

推荐答案

codeDOM被认为是某种的 AST 的可被转化到多语言(通常C#和VB.NET)。因此,你会找不到的特点,在codeDOM特定语言的语法糖。

CodeDom is supposed to be some sort of AST which can be converted to multiple languages (typically C# and VB.NET). Therefore, you'll not find features which are syntactic sugar of a specific language in CodeDom.

这篇关于生成C#自动属性与codeDOM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆