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

Method CanConvertFrom

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

Source from the content-addressed store, hash-verified

252 {
253 }
254 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
255 {
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));

Callers

nothing calls this directly

Calls 1

CanConvertFromMethod · 0.45

Tested by

no test coverage detected