public static ICollection<IModelMenuTemplate> Get_Templates(IModelMenuTemplateLink modelExtender) { CalculatedModelNodeList<IModelMenuTemplate> calculatedModelNodeList = new CalculatedModelNodeList<IModelMenuTemplate>(); calculatedModelNodeList.AddRange( from a in modelExtender.Application.Aurum().Menus().MenuEditor.Templates select a); return calculatedModelNodeList; }
public MenuFolderItem(IModelMenuTemplateLink info, string prefixId = "") : base(info, null, prefixId) { base.BeginGroup = info.BeginGroup; base.Caption = info.Caption; if (info.Template != null) { base.ImageName = info.Template.ImageName; } }