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

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

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