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

Method CanConvertTo

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

Source from the content-addressed store, hash-verified

256 return ((sourceType == typeof(string)) || base.CanConvertFrom(context, sourceType));
257 }
258 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
259 {
260 return ((destinationType == typeof(RectangleF)) || base.CanConvertTo(context, destinationType));
261 }
262 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
263 {
264 if (culture == null)

Callers

nothing calls this directly

Calls 1

CanConvertToMethod · 0.45

Tested by

no test coverage detected