C# 클래스 ImageProcessor.Web.Extensions.StringExtensions

Encapsulates a series of time saving extension methods to the T:System.String class.
파일 보기 프로젝트 열기: JimBobSquarePants/ImageProcessor

공개 메소드들

메소드 설명
IsValidVirtualPathName ( this expression ) : bool

Checks the string to see whether the value is a valid virtual path name.

ToMD5Fingerprint ( this expression ) : string

Creates an MD5 fingerprint of the String.

ToPositiveFloatArray ( this expression ) : float[]

Creates an array of floats scraped from the String.

ToPositiveIntegerArray ( this expression ) : int[]

Creates an array of integers scraped from the String.

ToSHA1Fingerprint ( this expression ) : string

Creates an SHA1 fingerprint of the String.

TrimStart ( this target, string trimString ) : string

Trims a specified string from the start of another string.

메소드 상세

IsValidVirtualPathName() 공개 정적인 메소드

Checks the string to see whether the value is a valid virtual path name.
public static IsValidVirtualPathName ( this expression ) : bool
expression this The String instance that this method extends.
리턴 bool

ToMD5Fingerprint() 공개 정적인 메소드

Creates an MD5 fingerprint of the String.
public static ToMD5Fingerprint ( this expression ) : string
expression this The String instance that this method extends.
리턴 string

ToPositiveFloatArray() 공개 정적인 메소드

Creates an array of floats scraped from the String.
public static ToPositiveFloatArray ( this expression ) : float[]
expression this The String instance that this method extends.
리턴 float[]

ToPositiveIntegerArray() 공개 정적인 메소드

Creates an array of integers scraped from the String.
public static ToPositiveIntegerArray ( this expression ) : int[]
expression this The String instance that this method extends.
리턴 int[]

ToSHA1Fingerprint() 공개 정적인 메소드

Creates an SHA1 fingerprint of the String.
public static ToSHA1Fingerprint ( this expression ) : string
expression this The String instance that this method extends.
리턴 string

TrimStart() 공개 정적인 메소드

Trims a specified string from the start of another string.
public static TrimStart ( this target, string trimString ) : string
target this The target string
trimString string The string to trim from the start
리턴 string