private void WriteThrowSet(MagickProperty property, string value) { WriteThrowStart(); WriteNativeIfContent("NativeMethods.{0}." + Class.Name + "_" + property.Name + "_Set(Instance, " + value + ", out exception);"); WriteCheckException(true); }
private void WriteCreateEnd(MagickProperty property) { if (NeedsCreate(property.Type)) { WriteEndColon(); } }
private void WriteCreateStart(MagickProperty property) { if (!NeedsCreate(property.Type)) { return; } WriteCreateStart("value", property.Type); }