Beispiel #1
0
        private void WriteThrowSet(MagickProperty property, string value)
        {
            WriteThrowStart();

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

            WriteCreateStart("value", property.Type);
        }