This content is part of a third party extension that is not supported by the Cake project.
Summary
Receives a value indicating whether this
System.ComponentModel.TypeConverter
can convert from a particular Type
.
- Assembly
- Cake
.Sprinkles .Module .dll - Namespace
- Cake
.Sprinkles .Module .TypeConversion - Containing Type
- Task
Argument Type Converter <TType>
Syntax
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
Name | Type | Description |
---|---|---|
context | I |
The System.ComponentModel.ITypeDescriptorContext . |
sourceType | Type | The Type to convert from. |
Return Value
Type | Description |
---|---|
bool | A value indicating whether this System.ComponentModel.TypeConverter can convert from a particular Type . |