C# Class BTDB.FieldHandler.DefaultTypeConvertorGenerator

Inheritance: ITypeConvertorGenerator
Afficher le fichier Open project: Bobris/BTDB

Méthodes publiques

Méthode Description
Convert2Bool ( int value ) : bool
Convert2Decimal ( double value ) : decimal
Convert2Decimal ( float value ) : decimal
Convert2Decimal ( int value ) : decimal
Convert2Decimal ( long value ) : decimal
Convert2Decimal ( uint value ) : decimal
Convert2Decimal ( ulong value ) : decimal
Convert2String ( bool value ) : string
Convert2String ( decimal value ) : string
Convert2String ( double value ) : string
Convert2String ( long value ) : string
Convert2String ( ulong value ) : string
DefaultTypeConvertorGenerator ( ) : System
GenerateConversion ( Type from, Type to ) : Action

Private Methods

Méthode Description
AddConversions ( IEnumerable fromList, Type to, Action generator ) : void
GenerateEnum2EnumConversion ( Type from, Type to ) : Action

Method Details

Convert2Bool() public static méthode

public static Convert2Bool ( int value ) : bool
value int
Résultat bool

Convert2Decimal() public static méthode

public static Convert2Decimal ( double value ) : decimal
value double
Résultat decimal

Convert2Decimal() public static méthode

public static Convert2Decimal ( float value ) : decimal
value float
Résultat decimal

Convert2Decimal() public static méthode

public static Convert2Decimal ( int value ) : decimal
value int
Résultat decimal

Convert2Decimal() public static méthode

public static Convert2Decimal ( long value ) : decimal
value long
Résultat decimal

Convert2Decimal() public static méthode

public static Convert2Decimal ( uint value ) : decimal
value uint
Résultat decimal

Convert2Decimal() public static méthode

public static Convert2Decimal ( ulong value ) : decimal
value ulong
Résultat decimal

Convert2String() public static méthode

public static Convert2String ( bool value ) : string
value bool
Résultat string

Convert2String() public static méthode

public static Convert2String ( decimal value ) : string
value decimal
Résultat string

Convert2String() public static méthode

public static Convert2String ( double value ) : string
value double
Résultat string

Convert2String() public static méthode

public static Convert2String ( long value ) : string
value long
Résultat string

Convert2String() public static méthode

public static Convert2String ( ulong value ) : string
value ulong
Résultat string

DefaultTypeConvertorGenerator() public méthode

public DefaultTypeConvertorGenerator ( ) : System
Résultat System

GenerateConversion() public méthode

public GenerateConversion ( Type from, Type to ) : Action
from System.Type
to System.Type
Résultat Action