Sakura.AspNetCore.Extensions/Sakura.AspNetCore.Mvc.PagedList/Internal/DefaultPagerRenderingListGenerator.cs
/// <summary>
///     Generate a <see cref="PagerRenderingItem" /> for the current pager item.
/// </summary>
/// <param name="list">The ownner list of the new item.</param>
/// <param name="context">The generation context.</param>
/// <returns>The generated <see cref="PagerRenderingItem" /> instance.</returns>
Generate a  for the current pager item.
Generate a for the current pager item .
private PagerRenderingItem GenerateRenderingItem(PagerRenderingList list, PagerItemGenerationContext context)
		{
			return new PagerRenderingItem(list)
			{
				Content = context.PagerItemOptions.Content?.GenerateContent(context),
				Link = context.PagerItemOptions.Link?.GenerateLink(context),
				Settings = new Dictionary<string, string>(context.PagerItemOptions.AdditionalSettings),
				State = GetRenderingItemState(context)
			};
		}
private PagerRenderingItem GenerateRenderingItem ( PagerRenderingList list , PagerItemGenerationContext context ) { return new PagerRenderingItem ( list ) { Content = context . PagerItemOptions . Content ? . GenerateContent ( context ) , Link = context . PagerItemOptions . Link ? . GenerateLink ( context ) , Settings = new Dictionary < string , string > ( context . PagerItemOptions . AdditionalSettings ) , State = GetRenderingItemState ( context ) } ; }
Generate a  for the current pager item.
Generate a for the current pager item .
The generated  instance.
The generated instance .
list
PagerRenderingList
The ownner list of the new item.
The ownner list of the new item .
context
PagerItemGenerationContext
The generation context.
The generation context .