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

Method CanConvertTo

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

Source from the content-addressed store, hash-verified

178 return ((sourceType == typeof(string)) || base.CanConvertFrom(context, sourceType));
179 }
180 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
181 {
182 return ((destinationType == typeof(PointF)) || base.CanConvertTo(context, destinationType));
183 }
184 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
185 {
186 if (culture == null)

Callers

nothing calls this directly

Calls 1

CanConvertToMethod · 0.45

Tested by

no test coverage detected