Class TypeHelper
public static class TypeHelper
- Inheritance
-
TypeHelper
- Inherited Members
Fields
ImplicitPrimitiveConversionTable
public static readonly FrozenDictionary<Type, Type[]> ImplicitPrimitiveConversionTable
Field Value
- FrozenDictionary<Type, Type[]>
Methods
CompareUsingMostPreciseType(object?, object?, ComparisonOptions)
public static int CompareUsingMostPreciseType(object? a, object? b, ComparisonOptions options)
Parameters
a
objectb
objectoptions
ComparisonOptions
Returns
GetMostPreciseNumberType(Type, Type)
Gets the most precise number type.
public static Type? GetMostPreciseNumberType(Type a, Type b)
Parameters
Returns
GetStringComparer(ComparisonOptions)
public static StringComparer GetStringComparer(ComparisonOptions options)
Parameters
options
ComparisonOptions
Returns
IsReal(object?)
public static bool IsReal(object? value)
Parameters
value
object