C# Class org.GraphDefined.Vanaheimr.Illias.Geometry.Tools.NumericTypeExtensions

Some type extensions to check for numeric types.
Afficher le fichier Open project: Vanaheimr/Illias

Méthodes publiques

Méthode Description
IsArithmetic ( this Type ) : System.Boolean

Checks whether the given type is arithmetic or not.

IsFloatingPoint ( Type Type ) : System.Boolean

Checks whether the given type is any kind of a floating point or not.

IsInteger ( this Type ) : System.Boolean

Checks whether the given type is any kind of an integer or not.

IsNumeric ( this Type ) : System.Boolean

Checks whether the given type is any kind of a numeric or not.

Method Details

IsArithmetic() public static méthode

Checks whether the given type is arithmetic or not.
public static IsArithmetic ( this Type ) : System.Boolean
Type this A type.
Résultat System.Boolean

IsFloatingPoint() public static méthode

Checks whether the given type is any kind of a floating point or not.
public static IsFloatingPoint ( Type Type ) : System.Boolean
Type System.Type A type.
Résultat System.Boolean

IsInteger() public static méthode

Checks whether the given type is any kind of an integer or not.
public static IsInteger ( this Type ) : System.Boolean
Type this A type.
Résultat System.Boolean

IsNumeric() public static méthode

Checks whether the given type is any kind of a numeric or not.
public static IsNumeric ( this Type ) : System.Boolean
Type this A type.
Résultat System.Boolean