CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Core.TypeConverters.SmartDateConverter Class Reference

Converts values to and from a SmartDate. More...

Inheritance diagram for Csla.Core.TypeConverters.SmartDateConverter:

Public Member Functions

override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType)
 Determines if a value can be converted to a SmartDate. More...
 
override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
 Converts values to a SmartDate. More...
 
override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType)
 Determines if a SmartDate can be convert to a value. More...
 
override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType)
 Converts a SmartDate to a value. More...
 

Detailed Description

Converts values to and from a SmartDate.

Definition at line 17 of file SmartDateConverter.cs.

Member Function Documentation

◆ CanConvertFrom()

override bool Csla.Core.TypeConverters.SmartDateConverter.CanConvertFrom ( System.ComponentModel.ITypeDescriptorContext  context,
System.Type  sourceType 
)

Determines if a value can be converted to a SmartDate.

Parameters
context
sourceType
Returns

Definition at line 27 of file SmartDateConverter.cs.

◆ CanConvertTo()

override bool Csla.Core.TypeConverters.SmartDateConverter.CanConvertTo ( System.ComponentModel.ITypeDescriptorContext  context,
System.Type  destinationType 
)

Determines if a SmartDate can be convert to a value.

Parameters
context
destinationType
Returns

Definition at line 71 of file SmartDateConverter.cs.

◆ ConvertFrom()

override object Csla.Core.TypeConverters.SmartDateConverter.ConvertFrom ( System.ComponentModel.ITypeDescriptorContext  context,
System.Globalization.CultureInfo  culture,
object  value 
)

Converts values to a SmartDate.

Parameters
context
culture
value
Returns

Definition at line 48 of file SmartDateConverter.cs.

◆ ConvertTo()

override object Csla.Core.TypeConverters.SmartDateConverter.ConvertTo ( System.ComponentModel.ITypeDescriptorContext  context,
System.Globalization.CultureInfo  culture,
object  value,
System.Type  destinationType 
)

Converts a SmartDate to a value.

Parameters
context
culture
value
destinationType
Returns

Definition at line 93 of file SmartDateConverter.cs.