Exemplo n.º 1
0
        private void WriteThrowSet(MagickProperty property, string value)
        {
            WriteThrowStart();

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

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