public ControlModel(string title, Type content, string xaml = "", string code = "", string tags = "") { Title = title; TitlePinyin = StringExtend.GetPinyin(title); Content = content; Tags = tags; XAML = xaml; Code = code; }
public ControlModel(string title, Type content, DemoType type = DemoType.Demo, ControlState state = ControlState.Nor, string xaml = "", string code = "", string tags = "") { Title = title; TitlePinyin = StringExtend.GetPinyin(title); Content = content; Type = type; Tags = tags; XAML = xaml; Code = code; State = state; }