C# Class System.Runtime.Serialization.FormatterConverter

Inheritance: IFormatterConverter
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Convert ( object value, System type ) : object
FormatterConverter ( ) : System
ToBoolean ( object value ) : bool
ToByte ( object value ) : byte
ToChar ( object value ) : char
ToDateTime ( object value ) : System.DateTime
ToDecimal ( object value ) : decimal
ToDouble ( object value ) : double
ToInt16 ( object value ) : short
ToInt32 ( object value ) : int
ToInt64 ( object value ) : long
ToSingle ( object value ) : float
ToString ( object value ) : string

Private Methods

Method Description
ToSByte ( object value ) : sbyte
ToUInt16 ( object value ) : ushort
ToUInt32 ( object value ) : uint
ToUInt64 ( object value ) : ulong

Method Details

Convert() public method

public Convert ( object value, System type ) : object
value object
type System
return object

FormatterConverter() public method

public FormatterConverter ( ) : System
return System

ToBoolean() public method

public ToBoolean ( object value ) : bool
value object
return bool

ToByte() public method

public ToByte ( object value ) : byte
value object
return byte

ToChar() public method

public ToChar ( object value ) : char
value object
return char

ToDateTime() public method

public ToDateTime ( object value ) : System.DateTime
value object
return System.DateTime

ToDecimal() public method

public ToDecimal ( object value ) : decimal
value object
return decimal

ToDouble() public method

public ToDouble ( object value ) : double
value object
return double

ToInt16() public method

public ToInt16 ( object value ) : short
value object
return short

ToInt32() public method

public ToInt32 ( object value ) : int
value object
return int

ToInt64() public method

public ToInt64 ( object value ) : long
value object
return long

ToSingle() public method

public ToSingle ( object value ) : float
value object
return float

ToString() public method

public ToString ( object value ) : string
value object
return string