C# 클래스 N2Bootstrap.Library.Defaults

파일 보기 프로젝트 열기: pauldotknopf/N2Bootstrap

공개 프로퍼티들

프로퍼티 타입 설명
ContainerWrappableZones List

공개 메소드들

메소드 설명
GetImageClass ( ImageDisplayTypeEnum imageDisplayType ) : string
ImageSize ( string zoneName ) : string
ImageSize ( string preferredSize, string fallbackToZoneNamed ) : string
IsContainerWrappable ( string zoneName ) : bool
PreviewText ( string text, int numberOfCharacters = 140 ) : string
SelectLanguage ( this request, ContentItem currentPage ) : ContentItem

Picks the translation best matching the browser-language or the first translation in the list

비공개 메소드들

메소드 설명
GetTranslations ( ContentItem currentPage ) : IEnumerable

메소드 상세

GetImageClass() 공개 정적인 메소드

public static GetImageClass ( ImageDisplayTypeEnum imageDisplayType ) : string
imageDisplayType ImageDisplayTypeEnum
리턴 string

ImageSize() 공개 정적인 메소드

public static ImageSize ( string zoneName ) : string
zoneName string
리턴 string

ImageSize() 공개 정적인 메소드

public static ImageSize ( string preferredSize, string fallbackToZoneNamed ) : string
preferredSize string
fallbackToZoneNamed string
리턴 string

IsContainerWrappable() 공개 정적인 메소드

public static IsContainerWrappable ( string zoneName ) : bool
zoneName string
리턴 bool

PreviewText() 공개 정적인 메소드

public static PreviewText ( string text, int numberOfCharacters = 140 ) : string
text string
numberOfCharacters int
리턴 string

SelectLanguage() 공개 정적인 메소드

Picks the translation best matching the browser-language or the first translation in the list
public static SelectLanguage ( this request, ContentItem currentPage ) : ContentItem
request this
currentPage ContentItem
리턴 ContentItem

프로퍼티 상세

ContainerWrappableZones 공개적으로 정적으로 프로퍼티

public static List ContainerWrappableZones
리턴 List