Method AddMenuWithShowList
AddMenuWithShowList<TEntity>(IOutlookBarMenuBuilder, Expression<Func<TEntity, bool>>)
Adds a menu item with a show list to the OutlookBar menu builder for the specified entity type.
public static IOutlookBarMenuBuilder AddMenuWithShowList<TEntity>(this IOutlookBarMenuBuilder menuBuilder, Expression<Func<TEntity, bool>> filter) where TEntity : class
Parameters
menuBuilderIOutlookBarMenuBuilderThe OutlookBar menu builder.
filterExpression<Func<TEntity, bool>>The filter expression for the show list.
Returns
- IOutlookBarMenuBuilder
 The OutlookBar menu builder.
Type Parameters
TEntityThe type of the entity.
AddMenuWithShowList<TEntity>(IOutlookBarMenuBuilder, Expression<Func<TEntity, bool>>, int)
Adds a menu item with a show list to the OutlookBar menu builder for the specified entity type with the specified sort order.
public static IOutlookBarMenuBuilder AddMenuWithShowList<TEntity>(this IOutlookBarMenuBuilder menuBuilder, Expression<Func<TEntity, bool>> filter, int sortOrder) where TEntity : class
Parameters
menuBuilderIOutlookBarMenuBuilderThe OutlookBar menu builder.
filterExpression<Func<TEntity, bool>>The filter expression for the show list.
sortOrderintThe sort order of the menu item.
Returns
- IOutlookBarMenuBuilder
 The OutlookBar menu builder.
Type Parameters
TEntityThe type of the entity.
AddMenuWithShowList<TEntity>(IOutlookBarMenuBuilder, int)
Adds a menu item with a show list to the OutlookBar menu builder for the specified entity type with the specified sort order.
public static IOutlookBarMenuBuilder AddMenuWithShowList<TEntity>(this IOutlookBarMenuBuilder menuBuilder, int sortOrder) where TEntity : class
Parameters
menuBuilderIOutlookBarMenuBuilderThe OutlookBar menu builder.
sortOrderintThe sort order of the menu item.
Returns
- IOutlookBarMenuBuilder
 The OutlookBar menu builder.
Type Parameters
TEntityThe type of the entity.
AddMenuWithShowList<TEntity>(IOutlookBarMenuBuilder, Action<MenuItemViewModelWithShowList<TEntity>>)
Adds a menu item with a show list to the OutlookBar menu builder for the specified entity type.
public static IOutlookBarMenuBuilder AddMenuWithShowList<TEntity>(this IOutlookBarMenuBuilder menuBuilder, Action<MenuItemViewModelWithShowList<TEntity>> action = null) where TEntity : class
Parameters
menuBuilderIOutlookBarMenuBuilderThe OutlookBar menu builder.
actionAction<MenuItemViewModelWithShowList<TEntity>>The action to configure the menu item.
Returns
- IOutlookBarMenuBuilder
 The OutlookBar menu builder.
Type Parameters
TEntityThe type of the entity.