C# Class Zios.Extensions.Convert.ConvertObject

ファイルを表示 Open project: z3nth10n/unity-themes

Public Properties

Property Type Description
byteMethods byte[]>>.List
serializeMethods List>

Public Methods

Method Description
As ( object current ) : T
AsArray ( current ) : T[]
AsArray ( current, int amount ) : T[]
AsBox ( current ) : object
AsList ( current ) : List
AsList ( current, int amount ) : List
Box ( current ) : object
Convert ( object current ) : Type
SerializeAuto ( object current, string separator = "-", bool changesOnly = false ) : string
ToBool ( object current ) : bool
ToBytes ( object current ) : byte[]
ToDouble ( object current ) : double
ToFloat ( object current ) : float
ToInt ( object current ) : int
ToString ( object current ) : string

Method Details

As() public static method

public static As ( object current ) : T
current object
return T

AsArray() public static method

public static AsArray ( current ) : T[]
return T[]

AsArray() public static method

public static AsArray ( current, int amount ) : T[]
amount int
return T[]

AsBox() public static method

public static AsBox ( current ) : object
return object

AsList() public static method

public static AsList ( current ) : List
return List

AsList() public static method

public static AsList ( current, int amount ) : List
amount int
return List

Box() public static method

public static Box ( current ) : object
return object

Convert() public static method

public static Convert ( object current ) : Type
current object
return Type

SerializeAuto() public static method

public static SerializeAuto ( object current, string separator = "-", bool changesOnly = false ) : string
current object
separator string
changesOnly bool
return string

ToBool() public static method

public static ToBool ( object current ) : bool
current object
return bool

ToBytes() public static method

public static ToBytes ( object current ) : byte[]
current object
return byte[]

ToDouble() public static method

public static ToDouble ( object current ) : double
current object
return double

ToFloat() public static method

public static ToFloat ( object current ) : float
current object
return float

ToInt() public static method

public static ToInt ( object current ) : int
current object
return int

ToString() public static method

public static ToString ( object current ) : string
current object
return string

Property Details

byteMethods public_oe static_oe property

public static List> byteMethods
return byte[]>>.List

serializeMethods public_oe static_oe property

public static List> serializeMethods
return List>