Ejemplo n.º 1
0
 /// <summary>
 /// Adds an icon using the default location resolution to the menu item in the calling assembly.
 /// </summary>
 /// <returns>The item.</returns>
 public MenuModel WithIcon()
 {
     return(WithIcon(Assembly.GetCallingAssembly(), ResourceExtensions.DetermineIconPath(DisplayName)));
 }