C# Class ComponentFactory.Krypton.Toolkit.DateTimeNullableConverter

Add DBNull/Null conversion for date time types.
Inheritance: System.ComponentModel.DateTimeConverter
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

Méthode Description
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object

Converts the given object to the type of this converter, using the specified context and culture information.

DateTimeNullableConverter ( ) : System

Initialize a new instance of the DateTimeNullableConverter class.

Method Details

ConvertFrom() public méthode

Converts the given object to the type of this converter, using the specified context and culture information.
public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext An ITypeDescriptorContext that provides a format context.
culture System.Globalization.CultureInfo The CultureInfo to use as the current culture.
value object The Object to convert.
Résultat object

DateTimeNullableConverter() public méthode

Initialize a new instance of the DateTimeNullableConverter class.
public DateTimeNullableConverter ( ) : System
Résultat System