<#@ template debug="false" hostspecific="false" language="C#" #> <#@ import namespace="System.Collections.Generic"#> <#@ output extension=".cs" #> <# var controlList = new List { "GrowlDemoCtl", "LoadingDemoCtl", "ImageBrowserDemoCtl", "ColorPickerDemoCtl", "CarouselDemoCtl", "CompareSliderDemoCtl", "TimeBarDemoCtl", "PaginationDemoCtl", "AnimationPathDemoCtl", "StepBarDemoCtl", "ClockDemoCtl", "TimePickerDemoCtl", "CirclePanelDemoCtl", "NumericUpDownDemoCtl", "WindowDemoCtl", "ScrollViewerDemoCtl", "PreviewSliderDemoCtl", "ProgressBarDemoCtl", "TextBoxDemoCtl", "ComboBoxDemoCtl", "PasswordBoxDemoCtl", "DatePickerDemoCtl", "DateTimePickerDemoCtl", "CalendarWithClockDemoCtl", "SearchBarDemoCtl", "TagDemoCtl", "GifImageDemoCtl", "OutlineTextDemoCtl", "FlipClockDemoCtl", "QQGroupView", "BlurWindow", "NoNonClientAreaDragableWindow", "RateDemoCtl", "ShieldDemoCtl", "WaterfallPanelDemoCtl", "CoverViewDemoCtl", "CoverFlowDemoCtl", "ProgressButtonDemoCtl", "TransferDemoCtl", "ChatBubbleDemoCtl", "GotoTopDemoCtl", "BadgeDemoCtl", "GravatarDemoCtl", "DialogDemoCtl" }; var styleList = new List { "ButtonDemoCtl", "ToggleButtonDemoCtl", "ExpanderDemoCtl", "NativeProgressBarDemoCtl", "TabControlDemoCtl", "CalendarDemoCtl", "NativeDatePickerDemoCtl", "NativeTextBoxDemoCtl", "TextBlockDemoCtl", "NativeComboBoxDemoCtl", "NativePasswordBoxDemoCtl", "NativeTabControlDemoCtl", "DataGridDemoCtl", "CheckBoxDemoCtl", "ListBoxDemoCtl", "MenuDemoCtl", "TreeViewDemoCtl", "BorderDemoCtl", "RadioButtonDemoCtl", "NativeScrollViewerDemoCtl", "BrushDemoCtl", "SliderDemoCtl", "GroupBoxDemoCtl", "ListViewDemoCtl", "RichTextBoxDemoCtl", "ToolBarDemoCtl", "LabelDemoCtl" }; var windowList = new List { "CommonWindow", "CustomNonClientAreaWindow" }; var messageList = new List { "LoadShowContent", "FullSwitch", "ContributorsView", "ClearLeftSelected", "SendChatMessage" }; #> 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#>); <#}#> <#foreach(var item in windowList){#> public static readonly string <#=item#> = nameof(<#=item#>); <#}#> <#foreach(var item in messageList){#> public static readonly string <#=item#> = nameof(<#=item#>); <#}#> } }