DataTypeTester

Class DataTypeTester

Inheritance
DataTypeTester
Namespace: ETLBox.Helper
Assembly: ETLBox.dll
Syntax
    public class DataTypeTester

Fields

IgnorePropNames

Declaration
    public ICollection<string> IgnorePropNames
Field Value
TypeDescription
ICollection<string>

Properties

ConvertibleTypes

Declaration
    public ConvertibleTestDefinition[] ConvertibleTypes { get; set; }
Property Value
TypeDescription
ConvertibleTestDefinition[]

DateTimeStyles

Declaration
    public DateTimeStyles DateTimeStyles { get; set; }
Property Value
TypeDescription
DateTimeStyles

DefaultConvertibleTypes

Declaration
    public ConvertibleTestDefinition[] DefaultConvertibleTypes { get; }
Property Value
TypeDescription
ConvertibleTestDefinition[]

FormatProvider

Declaration
    public IFormatProvider FormatProvider { get; set; }
Property Value
TypeDescription
IFormatProvider

NumberStyles

Declaration
    public NumberStyles NumberStyles { get; set; }
Property Value
TypeDescription
NumberStyles

Methods

Convert(dynamic)

Tries to convert all properties that are currently strings to the best fitting type.

Declaration
    public dynamic Convert(dynamic dynamicObject)
Parameters
TypeNameDescription
dynamicdynamicObject
Returns
TypeDescription
dynamic

ConvertDynamic(dynamic)

Declaration
    public static dynamic ConvertDynamic(dynamic dynamicObject)
Parameters
TypeNameDescription
dynamicdynamicObject
Returns
TypeDescription
dynamic

ConvertDynamic(dynamic, IFormatProvider)

Declaration
    public static dynamic ConvertDynamic(dynamic dynamicObject, IFormatProvider formatProvider)
Parameters
TypeNameDescription
dynamicdynamicObject
IFormatProviderformatProvider
Returns
TypeDescription
dynamic