Zetbox.Generator.AbstractBaseGenerator.Generate_Objects C# (CSharp) Méthode

Generate_Objects() protected méthode

protected Generate_Objects ( Zetbox ctx ) : List
ctx Zetbox
Résultat List
        protected virtual List<string> Generate_Objects(Zetbox.API.IZetboxContext ctx)
        {
            var generatedFileNames = new List<string>();

            Log.Info("  Object Classes");
            foreach (ObjectClass objClass in _compiler.GetObjectClassList(ctx).OrderBy(x => x.Name).ToList())
            {
                generatedFileNames.Add(Generate_ObjectClass(ctx, objClass));
                Log.Debug("    " + objClass.Name);
            }

            Log.Info("  Collection Entries");
            generatedFileNames.Add(Generate_CollectionEntries(ctx));

            Log.Info("  Interfaces");
            foreach (Interface i in _compiler.GetInterfaceList(ctx).OrderBy(x => x.Name))
            {
                generatedFileNames.Add(Generate_Interface(ctx, i));
                Log.Debug("    " + i.Name);
            }

            Log.Info("  Enums");
            foreach (Enumeration e in _compiler.GetEnumList(ctx).OrderBy(x => x.Name))
            {
                generatedFileNames.Add(Generate_Enumeration(ctx, e));
                Log.Debug("    " + e.Name);
            }

            Log.Info("  CompoundObjects");
            foreach (CompoundObject s in _compiler.GetCompoundObjectList(ctx).OrderBy(x => x.Name))
            {
                generatedFileNames.Add(Generate_CompoundObject(ctx, s));
                Log.Debug("    " + s.Name);
            }

            return generatedFileNames;
        }