コード例 #1
0
 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;
 }
コード例 #2
0
 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;
     }
 }