mirror of
https://gitee.com/handyorg/HandyControl.git
synced 2024-12-02 20:07:56 +08:00
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
<#@ template debug="false" hostspecific="false" language="C#" #>
|
|
<#@ import namespace="System.Collections.Generic"#>
|
|
<#@ output extension=".cs" #>
|
|
<#
|
|
var controlList = new List<string>
|
|
{
|
|
"GrowlDemoCtl",
|
|
"LoadingDemoCtl",
|
|
"ImageBrowserDemoCtl",
|
|
"ColorPickerDemoCtl",
|
|
"CarouselDemoCtl",
|
|
"CompareSliderDemoCtl",
|
|
"TimeBarDemoCtl",
|
|
"PaginationDemoCtl",
|
|
"AnimationPathDemoCtl",
|
|
"StepBarDemoCtl",
|
|
"ClockDemoCtl",
|
|
"TimePickerDemoCtl",
|
|
"CirclePanelDemoCtl"
|
|
};
|
|
var styleList = new List<string>
|
|
{
|
|
"ButtonDemoCtl",
|
|
"ToggleButtonDemoCtl",
|
|
"ExpanderDemoCtl",
|
|
"ProgressBarDemoCtl",
|
|
"TabControlDemoCtl",
|
|
"CalendarDemoCtl",
|
|
"DatePickerDemoCtl",
|
|
"TextBoxDemoCtl",
|
|
"TextBlockDemoCtl",
|
|
"ComboBoxDemoCtl",
|
|
"PasswordBoxDemoCtl",
|
|
"NaiveTabControlDemoCtl"
|
|
};
|
|
#>
|
|
namespace HandyControlDemo.Data
|
|
{
|
|
public class MessageToken
|
|
{
|
|
<#foreach(var item in controlList){#>
|
|
public static readonly string <#=item#> = nameof(<#=item#>);
|
|
|
|
<#}#>
|
|
<#foreach(var item in styleList){#>
|
|
public static readonly string <#=item#> = nameof(<#=item#>);
|
|
|
|
<#}#>
|
|
public static readonly string LoadShowContent = nameof(LoadShowContent);
|
|
}
|
|
} |