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

Method GetCreateInstanceSupported

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

Source from the content-addressed store, hash-verified

392 return Color.FromArgb((byte)propertyValues["A"], (byte)propertyValues["R"], (byte)propertyValues["G"], (byte)propertyValues["B"]);
393 }
394 public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)
395 {
396 return true;
397 }
398 public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
399 {
400 PropertyDescriptorCollection tProperties = TypeDescriptor.GetProperties(typeof(Color), attributes);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected