From c54bf559b0186afeb2768a98dfc782da481865ee Mon Sep 17 00:00:00 2001 From: bbakermmc Date: Fri, 3 Aug 2018 15:10:18 -0400 Subject: [PATCH] Update UserMenuItem.cs Removed Privates, set other CTOR from internal to public --- src/Abp/Application/Navigation/UserMenuItem.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Abp/Application/Navigation/UserMenuItem.cs b/src/Abp/Application/Navigation/UserMenuItem.cs index afc4a1c4e3..9e4eddbce9 100644 --- a/src/Abp/Application/Navigation/UserMenuItem.cs +++ b/src/Abp/Application/Navigation/UserMenuItem.cs @@ -21,7 +21,7 @@ public class UserMenuItem /// /// Display name of the menu item. /// - public string DisplayName { get; private set; } + public string DisplayName { get; set; } /// /// The Display order of the menu. Optional. @@ -56,7 +56,7 @@ public class UserMenuItem /// /// Sub items of this menu item. /// - public IList Items { get; private set; } + public IList Items { get; set; } /// /// Creates a new object. @@ -69,7 +69,7 @@ public UserMenuItem() /// /// Creates a new object from given . /// - internal UserMenuItem(MenuItemDefinition menuItemDefinition, ILocalizationContext localizationContext) + public UserMenuItem(MenuItemDefinition menuItemDefinition, ILocalizationContext localizationContext) { Name = menuItemDefinition.Name; Icon = menuItemDefinition.Icon; @@ -84,4 +84,4 @@ internal UserMenuItem(MenuItemDefinition menuItemDefinition, ILocalizationContex Items = new List(); } } -} \ No newline at end of file +}