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

Method GetCreateInstanceSupported

TexturedFontEditor/Helper.cs:234–237  ·  view source on GitHub ↗
(ITypeDescriptorContext context)

Source from the content-addressed store, hash-verified

232 return new PointF((float)propertyValues["X"], (float)propertyValues["Y"]);
233 }
234 public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)
235 {
236 return true;
237 }
238 public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
239 {
240 return TypeDescriptor.GetProperties(typeof(PointF), attributes).Sort(new string[] { "X", "Y" });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected