3fcfdeb5 6039 10ff d58e 97f1a6642a6e - akesseler/Plexdata.CsvParser GitHub Wiki

TypeConverter Class

This internal class provides a set of type conversion methods.

Inheritance Hierarchy

System.Object
  Plexdata.CsvParser.Internals.TypeConverter
Namespace: Plexdata.CsvParser.Internals
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea

Syntax

C#

internal static class TypeConverter

The TypeConverter type exposes the following members.

Methods

 

Name Description
Private methodStatic member AsBoolean This method converts given value into an object representing a Boolean type.
Private methodStatic member AsCharacter This method converts given value into an object representing a Character type.
Private methodStatic member AsDateTime This method converts given value into an object representing a Date/Time type.
Private methodStatic member AsDecimal This method converts given value into an object representing a Decimal type.
Private methodStatic member AsDouble This method converts given value into an object representing a Double type.
Private methodStatic member AsSingle This method converts given value into an object representing a Single type.
Private methodStatic member AsSInt16 This method converts given value into an object representing a Signed Short type.
Private methodStatic member AsSInt32 This method converts given value into an object representing a Signed Integer type.
Private methodStatic member AsSInt64 This method converts given value into an object representing a Signed Long type.
Private methodStatic member AsSInt8 This method converts given value into an object representing a Signed Byte type.
Private methodStatic member AsString This method converts given value into an object representing a String type.
Private methodStatic member AsUInt16 This method converts given value into an object representing a Unsigned Short type.
Private methodStatic member AsUInt32 This method converts given value into an object representing a Unsigned Integer type.
Private methodStatic member AsUInt64 This method converts given value into an object representing a Unsigned Long type.
Private methodStatic member AsUInt8 This method converts given value into an object representing a Unsigned Byte type.
Private methodStatic member GetFalseMapping This method tries to get the 'False' value mapping from given mapping instance.
Private methodStatic member GetFalseMappings This method tries to get the list of 'False' value mappings from given mapping instance.
Private methodStatic member GetNullMapping This method tries to get the 'Null' value mapping from given mapping instance.
Private methodStatic member GetNullMappings This method tries to get the list of 'Null' value mappings from given mapping instance.
Private methodStatic member GetTrueMapping This method tries to get the 'True' value mapping from given mapping instance.
Private methodStatic member GetTrueMappings This method tries to get the list of 'True' value mappings from given mapping instance.
Protected methodStatic member IntoObject This method converts given value into its type-safe object representation.
Protected methodStatic member IntoString The method tries to convert given 'value' into its string representation.
Private methodStatic member IsFalseString This method check if given value is included in the list of 'False' values available within given CSV mappings.
Private methodStatic member IsNullable This method determines whether given type is of type Nullable.
Private methodStatic member IsNullString This method check if given value is included in the list of 'Null' values available within given CSV mappings.
Private methodStatic member IsTrueString This method check if given value is included in the list of 'True' values available within given CSV mappings.
Private methodStatic member ToString This method converts given Boolean value into its string representation.
  Back to Top

Remarks

Type conversion is used only internally. User should not use this class directly.

See Also

Reference

Plexdata.CsvParser.Internals Namespace

⚠️ **GitHub.com Fallback** ⚠️