Sakura.AspNetCore.Extensions/Sakura.AspNetCore.Mvc.PagedList/PagerItemContentGenerators.cs
/// <summary>
///     Create a pager item content generator that generates html content using a custom generating method.
/// </summary>
/// <param name="contentGenerator">The generation method.</param>
/// <returns>The pager item content generator object.</returns>
Create a pager item content generator that generates html content using a custom generating method.
Create a pager item content generator that generates html content using a custom generating method .
public static IPagerItemContentGenerator CustomContent(
			Func<PagerItemGenerationContext, IHtmlContent> contentGenerator)
		{
			return new CustomHtmlContentGenerator(contentGenerator);
		}
public static IPagerItemContentGenerator CustomContent ( Func < PagerItemGenerationContext , IHtmlContent > contentGenerator ) { return new CustomHtmlContentGenerator ( contentGenerator ) ; }
Create a pager item content generator that generates html content using a custom generating method.
Create a pager item content generator that generates html content using a custom generating method .
The pager item content generator object.
The pager item content generator object .
contentGenerator
Func<PagerItemGenerationContext, IHtmlContent>
The generation method.
The generation method .