摘要: 在查看ADO.NET Entity Framework中得代码生成模板时,遇到这样一句代码:<#=Accessibility.ForType(enumType)#>enum<#=code.Escape(enumType)#> : <#=code.Escape(enumType.UnderlyingType.ClrEquivalentType, fullyQualifySystemTypes: false)#>其中:fullyQualifySystemTypes:false 当时使我疑惑,后来查阅相关资料:这种用法是.net 4.0中得新特性,谓之命名参数。在 阅读全文
posted @ 2012-09-06 11:47 Lyghost 阅读(414) 评论(0) 推荐(0) 编辑