static PublicDI() { //loadValuesFromConfigFile(); O2Kernel_Web.ApplyNetworkConnectionHack(); log = new KO2Log(); reflection = new KReflection(); config = new KO2Config(); O2KernelProcessName = "Generic O2 Kernel Process"; AppDomainUtils.registerCurrentAppDomain(); sDefaultFileName_ReportBug_LogView = "ReportBug_LogView.Rtf"; sDefaultFileName_ReportBug_ScreenShotImage = "ReportBug_ScreenShotImage.bmp"; sEmailDefaultTextFromO2Gui = "enter message here"; sEmailHost = "ASPMX.L.GOOGLE.COM"; sEmailToSendBugReportsTo = "*****@*****.**"; sO2Website = "https://ounceopen.squarespace.com"; LogViewerControlName = "O2 Logs"; //loadValuesFromConfigFile(); dFilteredFuntionSignatures = new Dictionary <string, FilteredSignature>(); dO2Vars = new Dictionary <string, object>(); dRegExes = new Dictionary <string, Regex>(); dFilesLines = new Dictionary <string, List <string> >(); }
static PublicDI() { //loadValuesFromConfigFile(); O2Kernel_Web.ApplyNetworkConnectionHack(); log = new KO2Log(); reflection = new KReflection(); config = new KO2Config();//O2ConfigLoader.getKO2Config(); O2KernelProcessName = "Generic O2 Kernel Process"; AppDomainUtils.registerCurrentAppDomain(); sDefaultFileName_ReportBug_LogView = "ReportBug_LogView.Rtf"; sDefaultFileName_ReportBug_ScreenShotImage = "ReportBug_ScreenShotImage.bmp"; sEmailDefaultTextFromO2Gui = "enter message here"; sEmailHost = "ASPMX.L.GOOGLE.COM"; sEmailToSendBugReportsTo = "*****@*****.**"; sO2Website = "https://ounceopen.squarespace.com"; LogViewerControlName = "O2 Logs"; //loadValuesFromConfigFile(); dFilteredFuntionSignatures = new Dictionary<string, FilteredSignature>(); dO2Vars = new Dictionary<string, object>(); dRegExes = new Dictionary<string, Regex>(); dFilesLines = new Dictionary<string, List<string>>(); }
static DI() { log = PublicDI.log; config = new KO2Config(); reflection = new KReflection(); showMdbgDebugMessages = false; }
public void invoke_Ctor_Static() { var kReflection = new KReflection(); assert_Is_True(kReflection.invoke_Ctor_Static(typeof(CompileEngine))); assert_Not_Null(CompileEngine.LocalReferenceFolders); CompileEngine.LocalReferenceFolders = null; assert_Is_Null(CompileEngine.LocalReferenceFolders); assert_Is_True(kReflection.invoke_Ctor_Static(typeof(CompileEngine))); assert_Not_Null(CompileEngine.LocalReferenceFolders); }