C# Класс ImageProcessor.Web.Extensions.StringExtensions

Encapsulates a series of time saving extension methods to the T:System.String class.
Показать файл Открыть проект

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

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