C# Класс Microsoft.Research.DataOnboarding.Utilities.Extensions.StringExtensions

Показать файл Открыть проект

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

Метод Описание
DecodeFrom64 ( this encodedData ) : string

The extension method can be used to decode the base 64 encoded string .

EncodeTo64 ( this toEncode ) : string

The extension method create a Base64 encoded string from a normal string.

IsAlphaNum ( this str ) : bool
IsNumeric ( this str ) : bool
ToDouble ( this strData ) : double

Extension method to convert the string to the double.

ToInt ( this strData ) : int

Extension method to convert the string to the integer.

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

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

The extension method can be used to decode the base 64 encoded string .
public static DecodeFrom64 ( this encodedData ) : string
encodedData this The String containing the characters to decode.
Результат string

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

The extension method create a Base64 encoded string from a normal string.
public static EncodeTo64 ( this toEncode ) : string
toEncode this The String containing the characters to encode.
Результат string

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

public static IsAlphaNum ( this str ) : bool
str this
Результат bool

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

public static IsNumeric ( this str ) : bool
str this
Результат bool

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

Extension method to convert the string to the double.
public static ToDouble ( this strData ) : double
strData this String data.
Результат double

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

Extension method to convert the string to the integer.
public static ToInt ( this strData ) : int
strData this String data.
Результат int