Beispiel #1
0
        public ConfigTool(int componentID)
        {
            FunctionResult <T> Config = AppSeed.GetConfig <T>(componentID);

            if (Config.ActionResult & Config.HavingData)
            {
                g_config = Config.Data;
            }
        }
Beispiel #2
0
        public ConfigTool(int componentID)
        {
            FunctionResult <T> Config = AppSeed.GetConfig <T>(componentID);

            if (Config.ActionResult & Config.HavingData)
            {
                g_config = Config.Data;
            }
            FunctionOpenResult <APPROOT> appRootConfig = AppSeed.GetAppRootConfig <APPROOT>();

            if (Config.ActionResult & Config.HavingData)
            {
                g_appRootConfig = appRootConfig.Data;
            }
        }