C# Class Sakura.AspNetCore.Mvc.Generators.CustomHtmlContentGenerator

Generate IHtmlContent from a custom generator.
Inheritance: IPagerItemContentGenerator
显示文件 Open project: sgjsakura/AspNetCore

Private Properties

Property Type Description

Public Methods

Method Description
CustomHtmlContentGenerator ( IHtmlContent>.[ htmlContentGenerator ) : System

GenerateContent ( PagerItemGenerationContext context ) : IHtmlContent

Generate the content for a specified pager item.

Method Details

CustomHtmlContentGenerator() public method

is null.
public CustomHtmlContentGenerator ( IHtmlContent>.[ htmlContentGenerator ) : System
htmlContentGenerator IHtmlContent>.[ The string generator callback delegate.
return System

GenerateContent() public method

Generate the content for a specified pager item.
public GenerateContent ( PagerItemGenerationContext context ) : IHtmlContent
context PagerItemGenerationContext The generation context.
return IHtmlContent