C# Класс System.Extensions

Utils class.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

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

public static ConvertFromYesNo ( this text ) : bool
text this
Результат bool

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

public static GetBytes ( this nativeUtf8 ) : byte[]
nativeUtf8 this
Результат byte[]

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

public static GetString ( this nativeUtf8 ) : string
nativeUtf8 this
Результат string

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

public static IsEqualToString ( this text, string text2 ) : bool
text this
text2 string
Результат bool

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

public static ToBool ( this anObject ) : bool
anObject this
Результат bool

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

public static ToDouble ( this anObject ) : double
anObject this
Результат double

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

public static ToFloat ( this anObject ) : float
anObject this
Результат float

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

public static ToInt ( this anObject ) : int
anObject this
Результат int

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

public static strlen ( this nativeUtf8 ) : int
nativeUtf8 this
Результат int