C# Class Woopsa.WoopsaJsonDataExtensions

显示文件 Open project: woopsa-protocol/Woopsa

Public Methods

Method Description
Serialize ( this data ) : string
ToBool ( this data ) : bool
ToByte ( this data ) : Byte
ToDouble ( this data ) : double
ToFloat ( this data ) : float
ToInt16 ( this data ) : Int16
ToInt32 ( this data ) : Int32
ToInt64 ( this data ) : System.Int64
ToSByte ( this data ) : SByte
ToUInt16 ( this data ) : UInt16
ToUInt32 ( this data ) : UInt32
ToUInt64 ( this data ) : System.UInt64

Method Details

Serialize() public static method

public static Serialize ( this data ) : string
data this
return string

ToBool() public static method

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

ToByte() public static method

public static ToByte ( this data ) : Byte
data this
return Byte

ToDouble() public static method

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

ToFloat() public static method

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

ToInt16() public static method

public static ToInt16 ( this data ) : Int16
data this
return System.Int16

ToInt32() public static method

public static ToInt32 ( this data ) : Int32
data this
return System.Int32

ToInt64() public static method

public static ToInt64 ( this data ) : System.Int64
data this
return System.Int64

ToSByte() public static method

public static ToSByte ( this data ) : SByte
data this
return SByte

ToUInt16() public static method

public static ToUInt16 ( this data ) : UInt16
data this
return System.UInt16

ToUInt32() public static method

public static ToUInt32 ( this data ) : UInt32
data this
return System.UInt32

ToUInt64() public static method

public static ToUInt64 ( this data ) : System.UInt64
data this
return System.UInt64