Files
HandyControl/src/Shared/HandyControlDemo_Shared/Data/MessageToken.tt
T
2020-04-18 17:34:06 +08:00

42 lines
852 B
Plaintext

<#@ template debug="false" hostspecific="false" language="C#" #>
<#@ import namespace="System.Collections.Generic"#>
<#@ output extension=".cs" #>
<#
var messageList = new List<string>
{
"LoadShowContent",
"FullSwitch",
"ContributorsView",
"ClearLeftSelected",
"SendChatMessage",
"GrowlDemoPanel",
"DialogDemoWindow",
"MainWindow",
"PracticalDemo",
"ProjectsView",
"BlogsView",
"WebsitesView",
"NotifyIconDemo",
"NotifyIconContextDemo",
"CommonWindow",
"BlurWindow",
"CustomNonClientAreaWindow",
"NoNonClientAreaDragableWindow",
"QQGroupView",
"GlowWindow",
"NativeCommonWindow",
"NavigationWindow",
"DialogContainer",
"LangUpdated"
};
#>
namespace HandyControlDemo.Data
{
public class MessageToken
{
<#foreach(var item in messageList){#>
public static readonly string <#=item#> = nameof(<#=item#>);
<#}#>
}
}