(ITypeDescriptorContext context, Type destinationType)
| 336 | return ((sourceType == typeof(string)) || base.CanConvertFrom(context, sourceType)); |
| 337 | } |
| 338 | public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
| 339 | { |
| 340 | return ((destinationType == typeof(Color)) || base.CanConvertTo(context, destinationType)); |
| 341 | } |
| 342 | public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
| 343 | { |
| 344 | if (culture == null) |
no outgoing calls
no test coverage detected