C# Class Jackett.Utils.ParseUtil

Afficher le fichier Open project: Jackett/Jackett Class Usage Examples

Méthodes publiques

Méthode Description
CoerceDouble ( string str ) : double
CoerceFloat ( string str ) : float
CoerceInt ( string str ) : int
CoerceLong ( string str ) : long
NormalizeMultiSpaces ( string s ) : string
NormalizeNumber ( string s ) : string
NormalizeSpace ( string s ) : string
RemoveInvalidXmlChars ( string text ) : string
TryCoerceDouble ( string str, double &result ) : bool
TryCoerceFloat ( string str, float &result ) : bool
TryCoerceInt ( string str, int &result ) : bool
TryCoerceLong ( string str, long &result ) : bool

Method Details

CoerceDouble() public static méthode

public static CoerceDouble ( string str ) : double
str string
Résultat double

CoerceFloat() public static méthode

public static CoerceFloat ( string str ) : float
str string
Résultat float

CoerceInt() public static méthode

public static CoerceInt ( string str ) : int
str string
Résultat int

CoerceLong() public static méthode

public static CoerceLong ( string str ) : long
str string
Résultat long

NormalizeMultiSpaces() public static méthode

public static NormalizeMultiSpaces ( string s ) : string
s string
Résultat string

NormalizeNumber() public static méthode

public static NormalizeNumber ( string s ) : string
s string
Résultat string

NormalizeSpace() public static méthode

public static NormalizeSpace ( string s ) : string
s string
Résultat string

RemoveInvalidXmlChars() public static méthode

public static RemoveInvalidXmlChars ( string text ) : string
text string
Résultat string

TryCoerceDouble() public static méthode

public static TryCoerceDouble ( string str, double &result ) : bool
str string
result double
Résultat bool

TryCoerceFloat() public static méthode

public static TryCoerceFloat ( string str, float &result ) : bool
str string
result float
Résultat bool

TryCoerceInt() public static méthode

public static TryCoerceInt ( string str, int &result ) : bool
str string
result int
Résultat bool

TryCoerceLong() public static méthode

public static TryCoerceLong ( string str, long &result ) : bool
str string
result long
Résultat bool