BaseShapeTypeConverter¶
Namespace: ThinkGeo.Core
Represents the BaseShapeTypeConverter class.
public class BaseShapeTypeConverter : System.ComponentModel.TypeConverter
Inheritance object → TypeConverter → BaseShapeTypeConverter
Constructors¶
BaseShapeTypeConverter()¶
public BaseShapeTypeConverter()
Methods¶
CanConvertFrom(ITypeDescriptorContext, Type)¶
Performs can convert from.
public bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters¶
context ITypeDescriptorContext
The context.
sourceType Type
The source type.
Returns¶
bool
True if the condition is met; otherwise, false.
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)¶
Converts from.
public object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters¶
context ITypeDescriptorContext
The context.
culture CultureInfo
The culture information used for formatting and parsing.
value object
The value to serialize or write.
Returns¶
object
The result of the operation.