C# Class System.Extensions

Utils class.
Afficher le fichier Open project: smartmobili/CocoaBuilder Class Usage Examples

Méthodes publiques

Méthode Description
ConvertFromYesNo ( this text ) : bool
GetBytes ( this nativeUtf8 ) : byte[]
GetString ( this nativeUtf8 ) : string
IsEqualToString ( this text, string text2 ) : bool
ToBool ( this anObject ) : bool
ToDouble ( this anObject ) : double
ToFloat ( this anObject ) : float
ToInt ( this anObject ) : int
strlen ( this nativeUtf8 ) : int

Method Details

ConvertFromYesNo() public static méthode

public static ConvertFromYesNo ( this text ) : bool
text this
Résultat bool

GetBytes() public static méthode

public static GetBytes ( this nativeUtf8 ) : byte[]
nativeUtf8 this
Résultat byte[]

GetString() public static méthode

public static GetString ( this nativeUtf8 ) : string
nativeUtf8 this
Résultat string

IsEqualToString() public static méthode

public static IsEqualToString ( this text, string text2 ) : bool
text this
text2 string
Résultat bool

ToBool() public static méthode

public static ToBool ( this anObject ) : bool
anObject this
Résultat bool

ToDouble() public static méthode

public static ToDouble ( this anObject ) : double
anObject this
Résultat double

ToFloat() public static méthode

public static ToFloat ( this anObject ) : float
anObject this
Résultat float

ToInt() public static méthode

public static ToInt ( this anObject ) : int
anObject this
Résultat int

strlen() public static méthode

public static strlen ( this nativeUtf8 ) : int
nativeUtf8 this
Résultat int