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

Method CanConvertFrom

TexturedFontEditor/Helper.cs:176–179  ·  view source on GitHub ↗
(ITypeDescriptorContext context, Type sourceType)

Source from the content-addressed store, hash-verified

174 {
175 }
176 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
177 {
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));

Callers

nothing calls this directly

Calls 1

CanConvertFromMethod · 0.45

Tested by

no test coverage detected