File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 Type="System.String" Default="" Optional="True"
2929 Description="The type this interface extends."%>
3030<%@ Property Category="2.Interface" Name="FileHeader"
31- Type="CodeSmith.CustomProperties.StringCollection " Default="" Optional="True"
31+ Type="System.String " Default="" Optional="True"
3232 Description="Text to put in the begining of the file"%>
3333<%@ Property Category="2.Interface" Name="IgnoreProperties"
3434 Type="CodeSmith.CustomProperties.StringCollection" Default="" Optional="True"
3737 Type="System.Boolean" Default="False" Optional="False"
3838 Description="Ignore properties of script type any."%>
3939<%@ Property Category="2.Interface" Name="OptionalProperty"
40- Type="OptionalType" Default="All " Optional="False"
40+ Type="OptionalType" Default="None " Optional="False"
4141 Description="Controls property optional syntax."%>
4242
4343<% var scriptInterface = Generator.CreateInterface(AssemblyFile, ClassType); %>
44- <% if (FileHeader != null) { %>
45- <% foreach (var line in FileHeader) { %>
46- <%= line %>
47- <% } %>
48- <% } %>
44+ <%= FileHeader ?? string.Empty %>
4945module <%= ModuleName %> {
5046 "use strict";
5147
You can’t perform that action at this time.
0 commit comments