C# Class Microsoft.Scripting.Math.BigInteger.TypeConvertor

Inheritance: System.ComponentModel.TypeConverter
Exibir arquivo Open project: o2platform/O2.Platform.Projects

Public Methods

Method Description
CanConvertFrom ( System context, Type sourceType ) : bool
CanConvertTo ( System context, Type destinationType ) : bool
ConvertFrom ( System context, CultureInfo culture, object value ) : object
ConvertTo ( System context, CultureInfo culture, object value, Type destinationType ) : object

Method Details

CanConvertFrom() public method

public CanConvertFrom ( System context, Type sourceType ) : bool
context System
sourceType System.Type
return bool

CanConvertTo() public method

public CanConvertTo ( System context, Type destinationType ) : bool
context System
destinationType System.Type
return bool

ConvertFrom() public method

public ConvertFrom ( System context, CultureInfo culture, object value ) : object
context System
culture System.Globalization.CultureInfo
value object
return object

ConvertTo() public method

public ConvertTo ( System context, CultureInfo culture, object value, Type destinationType ) : object
context System
culture System.Globalization.CultureInfo
value object
destinationType System.Type
return object