MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / CanConvertTo

Method CanConvertTo

TexturedFontEditor/Helper.cs:338–341  ·  view source on GitHub ↗
(ITypeDescriptorContext context, Type destinationType)

Source from the content-addressed store, hash-verified

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)

Callers 2

CanConvertToMethod · 0.45
CanConvertToMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected