C# 클래스 Sakura.AspNetCore.Mvc.PagerItemOptionsSet

Include all PagerItemOptions for all types of pager items.
파일 보기 프로젝트 열기: sgjsakura/AspNetCore

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