コード例 #1
0
        //////////////////////////////////////////////////////////////////////////
        public IFramework NewFramework(FrameworkConfig configuration)
        {
            if (configuration == null)
                configuration = new FrameworkConfig();

            CManifest manifest = new CManifest();

            manifest.SymbolicName = "Sekai Framework";
            manifest.Version = Assembly.GetExecutingAssembly().GetName().Version;
            manifest.AssemblyPath = Assembly.GetExecutingAssembly().Location;

            CSystemBundle sys_bundle = new CSystemBundle(configuration, manifest);
            return sys_bundle;
        }
コード例 #2
0
        //////////////////////////////////////////////////////////////////////////

        public IFramework NewFramework(FrameworkConfig configuration)
        {
            if (configuration == null)
            {
                configuration = new FrameworkConfig();
            }

            CManifest manifest = new CManifest();

            manifest.SymbolicName = "Sekai Framework";
            manifest.Version      = Assembly.GetExecutingAssembly().GetName().Version;
            manifest.AssemblyPath = Assembly.GetExecutingAssembly().Location;

            CSystemBundle sys_bundle = new CSystemBundle(configuration, manifest);

            return(sys_bundle);
        }