Back to Website
Show / Hide Table of Contents

Class UnitConverter

Inheritance
System.Object
UnitConverter
Namespace: Aurigma.DesignAtoms.Convert.Unit
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class UnitConverter : TypeConverter

Constructors

UnitConverter()

Declaration
public UnitConverter()

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
Type Name Description
System.ComponentModel.ITypeDescriptorContext context
System.Type sourceType
Returns
Type Description
System.Boolean

CanConvertTo(ITypeDescriptorContext, Type)

Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
Type Name Description
System.ComponentModel.ITypeDescriptorContext context
System.Type destinationType
Returns
Type Description
System.Boolean

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
Type Name Description
System.ComponentModel.ITypeDescriptorContext context
System.Globalization.CultureInfo culture
System.Object value
Returns
Type Description
System.Object

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
Type Name Description
System.ComponentModel.ITypeDescriptorContext context
System.Globalization.CultureInfo culture
System.Object value
System.Type destinationType
Returns
Type Description
System.Object
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback