Table of Contents

Class LowercaseBooleanConverter

Namespace
NMF.Models
Assembly
NMF.Models.dll

Denotes a type converter that converts booleans to lower case strings

public class LowercaseBooleanConverter : BooleanConverter
Inheritance
LowercaseBooleanConverter
Inherited Members

Methods

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

Converts the given value object to the specified type, using the specified context and culture information.

public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)

Parameters

context ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

culture CultureInfo

A CultureInfo. If null is passed, the current culture is assumed.

value object

The object to convert.

destinationType Type

The Type to convert the value parameter to.

Returns

object

An object that represents the converted value.

Exceptions

ArgumentNullException

The destinationType parameter is null.

NotSupportedException

The conversion cannot be performed.