static DI() { //Apply .NET Network Connection hack O2Kernel_Web.ApplyNetworkConnectionHack(); // all these variables need to be setup appDomainsControledByO2Kernel = new Dictionary<string, O2AppDomainFactory>(); log = new KO2Log(); reflection = new KReflection(); o2MessageQueue = KO2MessageQueue.getO2KernelQueue(); // before we load the O2Config data (which is loaded from the local disk) config = O2ConfigLoader.getKO2Config(); //make sure theses values are set (could be a prob due to changed location of these values) if (config.LocalScriptsFolder == null) { config.LocalScriptsFolder = KO2Config.defaultLocalScriptFolder; config.SvnO2RootFolder = KO2Config.defaultSvnO2RootFolder; config.SvnO2DatabaseRulesFolder = KO2Config.defaultSvnO2DatabaseRulesFolder; } O2KernelProcessName = "Generic O2 Kernel Process"; ; AppDomainUtils.registerCurrentAppDomain(); }
static DI() { log = PublicDI.log; config = new KO2Config(); reflection = new KReflection(); showMdbgDebugMessages = false; }
static DI() { //Apply .NET Network Connection hack O2Kernel_Web.ApplyNetworkConnectionHack(); // all these variables need to be setup appDomainsControledByO2Kernel = new Dictionary<string, O2AppDomainFactory>(); log = new KO2Log(); reflection = new KReflection(); // before we load the O2Config data (which is loaded from the local disk) config = O2ConfigLoader.getKO2Config(); // config.O2TempDir = Environment.CurrentDirectory.pathCombine("_o2_Temp_Dir"); //make sure theses values are set (could be a prob due to changed location of these values) if (config.LocalScriptsFolder == null) { config.LocalScriptsFolder = KO2Config.defaultLocalScriptFolder; config.SvnO2RootFolder = KO2Config.defaultSvnO2RootFolder; config.SvnO2DatabaseRulesFolder = KO2Config.defaultSvnO2DatabaseRulesFolder; } O2KernelProcessName = "Generic O2 Kernel Process"; ; AppDomainUtils.registerCurrentAppDomain(); O2_at_GitHub.configureReferencesDownloadLocations(); }
static DI() { o2MessageQueue = KO2MessageQueue.getO2KernelQueue(); log = new KO2Log(); config = O2ConfigLoader.getKO2Config(); reflection = new KReflection(); }
static DI() { log = PublicDI.log; config = new KO2Config(); reflection = new KReflection(); }