C# Класс Cruncher.Extensions.StringExtensions

Encapsulates a series of time saving extension methods to Strings.
Показать файл Открыть проект

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

Метод Описание
Contains ( this expression, string value, System.StringComparison comparisonType ) : bool

Specifies whether a string contains another string dependent on the given comparison enumeration.

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.

Описание методов

Contains() публичный статический Метод

Specifies whether a string contains another string dependent on the given comparison enumeration.
public static Contains ( this expression, string value, System.StringComparison comparisonType ) : bool
expression this The String instance that this method extends.
value string The string value to search for.
comparisonType System.StringComparison The string comparer to determine comparison rules.
Результат bool

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