| ConversionKind Enumeration |
Represents different kinds of type conversions that can be used by Deedle internally.
This is used, for example, when converting `ObjectSeries<'K>` to `Series<'K, 'T>` -
The conversion kind can be specified as an argument to allow certain conversions.
[category:Parameters and results of various operations]
Namespace:
Deedle
Assembly:
Deedle (in Deedle.dll) Version: 1.2
Syntax [SerializableAttribute]
public enum ConversionKind
Members
| Member name | Description |
---|
| Exact |
Specifies that the type has to match exactly and no conversions are performed.
|
| Safe |
Allows conversions that widen numeric types, but nothing else. This includes
conversions on decimals `decimal -> float32 -> float` and also from integers
to floating points (`int -> decimal` etc.)
|
| Flexible |
Allows the use of arbitrary .NET conversions. This uses `Convert.ChangeType`, which
performs numerical conversions, parsing of strings, uses `IConvertable` and more.
|
See Also