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

Method CreateInstance

TexturedFontEditor/Helper.cs:230–233  ·  view source on GitHub ↗
(ITypeDescriptorContext context, IDictionary propertyValues)

Source from the content-addressed store, hash-verified

228 return base.ConvertTo(context, culture, value, destinationType);
229 }
230 public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
231 {
232 return new PointF((float)propertyValues["X"], (float)propertyValues["Y"]);
233 }
234 public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)
235 {
236 return true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected