Skip to content

Commit 8ab2165

Browse files
author
Caitlin Bales (MSFT)
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into caitbal/working
2 parents 6e7f811 + 0dc2d1a commit 8ab2165

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Templates/Python/Model/EnumType.py.tt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ class <#=enumT.Name.ToUpperFirstChar()#>(Enum):
1616
count = 0
1717
foreach(var value in enumT.Members)
1818
{
19-
count++;
19+
2020
#>
2121
#<#= value.Name.SplitCamelCase()#>
22-
<#= value.Name.SanitizePropertyName()#> = <#= count#>
22+
<#= value.Name.SanitizePropertyName()#> = "<#= count#>"
2323
<#
24+
count++;
2425
}
2526
#>

0 commit comments

Comments
 (0)