C# Класс Sakura.AspNetCore.Mvc.PagerItemOptionsSet

Include all PagerItemOptions for all types of pager items.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetMergedOptionsFor PagerItemOptions
GetMergedOptionsFor PagerItemOptions

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetMergedOptionsFor ( PagerItemType itemType ) : PagerItemOptions
GetMergedOptionsFor ( [ item ) : PagerItemOptions

Описание методов

Clone() публичный Метод

Create a deep clone for this object.
public Clone ( ) : PagerItemOptionsSet
Результат PagerItemOptionsSet

GetBaseItemType() публичный статический Метод

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.
Результат PagerItemType?

GetOptionsFor() публичный Метод

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.
Результат PagerItemOptions

GetOptionsFor() публичный Метод

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.
Результат PagerItemOptions

GetOptionsFor() публичный Метод

Get the actual PagerItemOptions for a specified PagerItemType.
The value of is null.
public GetOptionsFor ( [ item ) : PagerItemOptions
item [ The actual instance.
Результат PagerItemOptions

PagerItemOptionsSet() публичный Метод

Initialize a new set with all empty settings.
public PagerItemOptionsSet ( ) : System
Результат System