C# Class Sakura.AspNetCore.Mvc.Internal.PagerGenerationContext

Provide necessary information for pager generation.
Datei anzeigen Open project: sgjsakura/AspNetCore Class Usage Examples

Public Methods

Method Description
PagerGenerationContext ( int currentPage, int totalPage, PagerOptions options, ViewContext viewContext, PagerGenerationMode generationMode ) : Microsoft.AspNetCore.Mvc.Rendering

Initialize a new instance.

Protected Methods

Method Description
PagerGenerationContext ( ) : Microsoft.AspNetCore.Mvc.Rendering

Initialize a new instance with empty setting.

Method Details

PagerGenerationContext() protected method

Initialize a new instance with empty setting.
protected PagerGenerationContext ( ) : Microsoft.AspNetCore.Mvc.Rendering
return Microsoft.AspNetCore.Mvc.Rendering

PagerGenerationContext() public method

Initialize a new instance.
public PagerGenerationContext ( int currentPage, int totalPage, PagerOptions options, ViewContext viewContext, PagerGenerationMode generationMode ) : Microsoft.AspNetCore.Mvc.Rendering
currentPage int The current page number in the pager.
totalPage int The total page count of the pager.
options PagerOptions The options of the pager.
viewContext ViewContext The current view context.
generationMode PagerGenerationMode The generation mode.
return Microsoft.AspNetCore.Mvc.Rendering