C# 클래스 Sitecore.Modules.WeBlog.Extensions.StringExtensions

파일 보기 프로젝트 열기: WeTeam/WeBlog

공개 메소드들

메소드 설명
HasValue ( this input ) : bool

Determines whether the specified input has value.

MaxLength ( this input, int length, string continuesToken = "..." ) : string

Limits a strings length to a maximum number of characters

ToHtmlString ( this input ) : HtmlString

Converts string input into MvcHtmlString

메소드 상세

HasValue() 공개 정적인 메소드

Determines whether the specified input has value.
public static HasValue ( this input ) : bool
input this The input.
리턴 bool

MaxLength() 공개 정적인 메소드

Limits a strings length to a maximum number of characters
public static MaxLength ( this input, int length, string continuesToken = "..." ) : string
input this The input to process
length int The maximum length of the string
continuesToken string The token to append to the string if it is truncated
리턴 string

ToHtmlString() 공개 정적인 메소드

Converts string input into MvcHtmlString
public static ToHtmlString ( this input ) : HtmlString
input this
리턴 HtmlString