Example #1
0
        static TypeContainer CreateSiteContainer()
        {
            if (global_site_container == null) {
                global_site_container = new StaticDataClass ();
                RootContext.ToplevelTypes.AddCompilerGeneratedClass (global_site_container);
                global_site_container.CreateType ();
                global_site_container.DefineType ();
                global_site_container.Define ();
            }

            return global_site_container;
        }