AngleConverterCanConvertFrom(ITypeDescriptorContext, Type) Method

Determines if this converter can convert an object in the given source type to the native type of the converter.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.138 -- Release Build+dacff88cce10d287c7434d5aac59c76948c712b1
public override bool CanConvertFrom(
	ITypeDescriptorContext? context,
	Type sourceType
)

Parameters

context  ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
sourceType  Type
A Type that represents the type from which you want to convert.

Return Value

Boolean
if this converter can perform the operation; otherwise, .

See Also