Files
HandyControl/src/Shared/HandyControlDemo_Shared/Data/MessageToken.tt
T

45 lines
893 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",
"TouchDragMoveWindow",
"DialogContainer",
"LangUpdated",
"SkinUpdated"
};
#>
namespace HandyControlDemo.Data
{
public class MessageToken
{
<#foreach(var item in messageList){#>
public static readonly string <#=item#> = nameof(<#=item#>);
<#}#>
}
}