add role property

This commit is contained in:
NaBian committed 2019-01-29 00:16:09 +08:00
1 parent 8c372510f5
commit 2c0889f64b
24 files changed
+284 -87

No files matched your search

+14 -7
View File
@@ -79,6 +79,16 @@ var windowList = new List<string>
"CommonWindow",
"CustomNonClientAreaWindow"
};
var messageList = new List<string>
{
"LoadShowContent",
"FullSwitch",
"ContributorsView",
"ClearLeftSelected",
"SendChatString",
"SendChatImage",
"SendChatAudio"
};
#>
namespace HandyControlDemo.Data
{
@@ -96,12 +106,9 @@ namespace HandyControlDemo.Data
public static readonly string <#=item#> = nameof(<#=item#>);
<#}#>
public static readonly string LoadShowContent = nameof(LoadShowContent);
<#foreach(var item in messageList){#>
public static readonly string <#=item#> = nameof(<#=item#>);
public static readonly string FullSwitch = nameof(FullSwitch);
public static readonly string ContributorsView = nameof(ContributorsView);
public static readonly string ClearLeftSelected = nameof(ClearLeftSelected);
}
<#}#>
}
}