CodeSmith实用技巧(一):使用StringCollection

StringCollection 提供了一种集合的输入方式,在代码中,可以用 Array 的方式来引用。在使用这个类之前,在模版中我们必须添加对 CodeSmith.CustomProperties 程序集的引用: <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> <% @ Assembly N
相关文章
相关标签/搜索