C# Class Sakura.AspNetCore.Mvc.PagerItemOptionsSet

Include all PagerItemOptions for all types of pager items.
Mostrar archivo Open project: sgjsakura/AspNetCore

Private Properties

Property Type Description
GetMergedOptionsFor PagerItemOptions
GetMergedOptionsFor PagerItemOptions

Public Methods

Method 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

Method Description
GetMergedOptionsFor ( PagerItemType itemType ) : PagerItemOptions
GetMergedOptionsFor ( [ item ) : PagerItemOptions

Method Details

Clone() public method

Create a deep clone for this object.
public Clone ( ) : PagerItemOptionsSet
return PagerItemOptionsSet

GetBaseItemType() public static method

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.
return PagerItemType?

GetOptionsFor() public method

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.
return PagerItemOptions

GetOptionsFor() public method

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.
return PagerItemOptions

GetOptionsFor() public method

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

PagerItemOptionsSet() public method

Initialize a new set with all empty settings.
public PagerItemOptionsSet ( ) : System
return System