C# Class System.Extensions

Utils class.
Mostrar archivo Open project: smartmobili/CocoaBuilder Class Usage Examples

Public Methods

Method 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 method

public static ConvertFromYesNo ( this text ) : bool
text this
return bool

GetBytes() public static method

public static GetBytes ( this nativeUtf8 ) : byte[]
nativeUtf8 this
return byte[]

GetString() public static method

public static GetString ( this nativeUtf8 ) : string
nativeUtf8 this
return string

IsEqualToString() public static method

public static IsEqualToString ( this text, string text2 ) : bool
text this
text2 string
return bool

ToBool() public static method

public static ToBool ( this anObject ) : bool
anObject this
return bool

ToDouble() public static method

public static ToDouble ( this anObject ) : double
anObject this
return double

ToFloat() public static method

public static ToFloat ( this anObject ) : float
anObject this
return float

ToInt() public static method

public static ToInt ( this anObject ) : int
anObject this
return int

strlen() public static method

public static strlen ( this nativeUtf8 ) : int
nativeUtf8 this
return int