C# Class Microsoft.Research.DataOnboarding.Utilities.Extensions.StringExtensions

Afficher le fichier Open project: CDLUC3/dataup2

Méthodes publiques

Méthode Description
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.

Method Details

DecodeFrom64() public static méthode

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.
Résultat string

EncodeTo64() public static méthode

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.
Résultat string

IsAlphaNum() public static méthode

public static IsAlphaNum ( this str ) : bool
str this
Résultat bool

IsNumeric() public static méthode

public static IsNumeric ( this str ) : bool
str this
Résultat bool

ToDouble() public static méthode

Extension method to convert the string to the double.
public static ToDouble ( this strData ) : double
strData this String data.
Résultat double

ToInt() public static méthode

Extension method to convert the string to the integer.
public static ToInt ( this strData ) : int
strData this String data.
Résultat int