NavigationHelper.ByCategory method
namespace: Serenity.Navigation assembly: Serenity.Net.Web
Creates a lookup of navigation item attributes by their category
public static ILookup<string, NavigationItemAttribute> ByCategory(
IEnumerable<NavigationItemAttribute> list)
| parameter | description |
|---|---|
| list | List with navigation item attributes |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | List is null |
See Also
- class NavigationItemAttribute
- class NavigationHelper