コード例 #1
0
        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> >();
        }
コード例 #2
0
ファイル: PublicDI.cs プロジェクト: sempf/FluentSharp
        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>>();
        }
コード例 #3
0
 static DI()
 {
     log = PublicDI.log;            
     config = new KO2Config();
     reflection = new KReflection();
     showMdbgDebugMessages = false;
 }
コード例 #4
0
 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);
 }