C# Class Sakura.AspNetCore.Mvc.PagerItemOptionsSet

Include all PagerItemOptions for all types of pager items.
Afficher le fichier Open project: sgjsakura/AspNetCore

Private Properties

Свойство Type Description
GetMergedOptionsFor PagerItemOptions
GetMergedOptionsFor PagerItemOptions

Méthodes publiques

Méthode Description
Clone ( ) : PagerItemOptionsSet

Create a deep clone for this object.

GetBaseItemType ( PagerItemType itemType ) : PagerItemType?

Get the base item type of a PagerItemType. If no base itemType is appliable. This method will return null.

GetOptionsFor ( PagerItemType itemType ) : PagerItemOptions

Get the actual PagerItemOptions for a specified PagerItemType.

GetOptionsFor ( PagerLayoutElement layoutElement ) : PagerItemOptions

Get the actual PagerItemOptions for a specified PagerLayoutElement.

The PagerLayoutElement enum type cannot tell the difference between normal number pages, current page, and omitted pages. In order to get more accurate result, please use GetOptionsFor(PagerItemType) or GetOptionsFor(PagerItem) overloads.

GetOptionsFor ( [ item ) : PagerItemOptions

Get the actual PagerItemOptions for a specified PagerItemType.

PagerItemOptionsSet ( ) : System

Initialize a new set with all empty settings.

Private Methods

Méthode Description
GetMergedOptionsFor ( PagerItemType itemType ) : PagerItemOptions
GetMergedOptionsFor ( [ item ) : PagerItemOptions

Method Details

Clone() public méthode

Create a deep clone for this object.
public Clone ( ) : PagerItemOptionsSet
Résultat PagerItemOptionsSet

GetBaseItemType() public static méthode

Get the base item type of a PagerItemType. If no base itemType is appliable. This method will return null.
public static GetBaseItemType ( PagerItemType itemType ) : PagerItemType?
itemType PagerItemType A to be getting the base type.
Résultat PagerItemType?

GetOptionsFor() public méthode

Get the actual PagerItemOptions for a specified PagerItemType.
The value of is not a valid enum item.
public GetOptionsFor ( PagerItemType itemType ) : PagerItemOptions
itemType PagerItemType The which indicates the role of the pager item.
Résultat PagerItemOptions

GetOptionsFor() public méthode

Get the actual PagerItemOptions for a specified PagerLayoutElement.
The PagerLayoutElement enum type cannot tell the difference between normal number pages, current page, and omitted pages. In order to get more accurate result, please use GetOptionsFor(PagerItemType) or GetOptionsFor(PagerItem) overloads.
The value of is not a valid enum item.
public GetOptionsFor ( PagerLayoutElement layoutElement ) : PagerItemOptions
layoutElement PagerLayoutElement The which indicates the role of the pager item.
Résultat PagerItemOptions

GetOptionsFor() public méthode

Get the actual PagerItemOptions for a specified PagerItemType.
The value of is null.
public GetOptionsFor ( [ item ) : PagerItemOptions
item [ The actual instance.
Résultat PagerItemOptions

PagerItemOptionsSet() public méthode

Initialize a new set with all empty settings.
public PagerItemOptionsSet ( ) : System
Résultat System