C# Class ReferencePath.TypeConverter, gert

TypeConverter to convert a string to an instance of ReferencePath.
Inheritance: PropertySorter
显示文件 Open project: mono/gert

Public Methods

Method Description
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object

Method Details

CanConvertFrom() public method

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType Type
return bool

ConvertFrom() public method

public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object
context ITypeDescriptorContext
culture System
value object
return object