bool GenerateClass(string genericClassName)
        {
            XClass xclass = new XClass();

            Chilkat.Log log = new Chilkat.Log();

            if (!xclass.LoadClass(genericClassName, log))
            {
                return(false);
            }

            // Skip some classes we don't want..
            if (xclass.DnEventArgs)
            {
                return(true);
            }
            if (xclass.Deprecated)
            {
                return(true);
            }

            // Generate the wrapper for this class to a StringBuilder, and then
            // write the contents of the StringBuilder to a file.

            StringBuilder sbSourceFile = new StringBuilder();

            if (!generateClassToSb(xclass, sbSourceFile, log))
            {
                return(false);
            }

            GenBase.writeFileIfModified(txtOutputDir.Text + genericClassName + ".au3", sbSourceFile.ToString());

            return(true);
        }
        bool GenerateClass(string genericClassName)
        {
            XClass xclass = new XClass();

            Chilkat.Log log = new Chilkat.Log();

            if (!xclass.LoadClass(genericClassName, log))
            {
                return(false);
            }

            // Skip some classes we don't want..
            if (xclass.DnEventArgs)
            {
                return(true);
            }
            if (xclass.Deprecated)
            {
                return(true);
            }

            // Generate the wrapper for this class to a StringBuilder, and then
            // write the contents of the StringBuilder to a file.

            StringBuilder sbSourceFile = new StringBuilder();

            if (!generateClassToSb(xclass, sbSourceFile, log))
            {
                return(false);
            }

            GenBase.writeFileIfModified(AppDataDir.BaseDir + "/sampleOutput/Ruby/" + ChilkatApi.GenBase.m_generateForMicroVersion + "/" + genericClassName + ".rb", sbSourceFile.ToString());

            return(true);
        }