Esempio n. 1
0
        private ScriptItem parseClass(string data)
        {
            ScriptItem script = new ScriptItem();

            script.Source       = data;
            script.IsDecompiled = false;
            script.Name         = script.GetName();
            //
            if (string.IsNullOrEmpty(script.Name))
            {
                throw new Exception("Class not Found!");
            }
            Items.Set(script);
            return(script);
        }