C# Class ExoMerge.Helpers.ValueConverter

Mostrar archivo Open project: vc3/ExoMerge

Public Methods

Method Description
ToBoolean ( object value ) : bool

Converts the given value to a boolean using basic "truthiness" rules.

Private Methods

Method Description
IsNumericZero ( object value, double tolerance = 0.000001 ) : bool

Determines if the given type is a true numeric type, not simply convertable to a number.

Method Details

ToBoolean() public static method

Converts the given value to a boolean using basic "truthiness" rules.
public static ToBoolean ( object value ) : bool
value object
return bool