Esempio n. 1
0
 static DI()
 {
     config = PublicDI.config;
     log = PublicDI.log;
     //reflection = PublicDI.reflection;       
     reflection = new O2FormsReflectionASCX();
                
 }
Esempio n. 2
0
        static DI()
        {
            config = PublicDI.config;   // need to use local copy
            log = PublicDI.log;

            reflection = new O2FormsReflectionASCX();                        
                       
        }
Esempio n. 3
0
        public static IAssemblyAnalysis assemblyAnalysis; // = new AssemblyAnalysisImpl();

        #endregion Fields

        #region Constructors

        static DI()
        {
            config = PublicDI.config;
            log = PublicDI.log;
            reflection = new O2FormsReflectionASCX();
            cecilUtils = new CecilUtils();
            monoCecil = new O2MonoCecil();
            assemblyAnalysis = new AssemblyAnalysisImpl();
        }
Esempio n. 4
0
        static DI()
        {
            log                         = PublicDI.log;
            config                      = PublicDI.config;
            reflection                  = new O2FormsReflectionASCX();
			sourceCodeMappingFileName = "SourceCodeMappingsFile.xml";			// must be set before the call to getSourceCodeMappings();
            sourceCodeMappings          = SourceCodeMappingsUtils.getSourceCodeMappings();
            dFilesLines                 = new Dictionary<string, List<string>>();
            PathToGac                   = Path.Combine(Environment.GetEnvironmentVariable("windir") ?? "", "Assembly");//\\GAC_MSIL");                        
            
        }
        public AssemblyAnalysisImpl()
        {
        	reflectionEngine = new O2FormsReflectionASCX();
        
            //cecilEngineAvailble = (DI.monoCecil != null);
            if (false == CecilEngineAvailble)
                PublicDI.log.error(
                    "Not all required DI (Dependency Injections) are available for the CECIL Engine (which will not be available)");

            //reflectionEngineAvailble = (DI.reflectionASCX != null);
            if (false == ReflectionEngineAvailble)
                PublicDI.log.error(
                    "Not all required DI (Dependency Injections) are available for the REFLECTION Engine (which will not be available)");            
        }
Esempio n. 6
0
        static DI()
        {
            log = PublicDI.log;
            reflection = new O2FormsReflectionASCX();
            config = PublicDI.config;

            dFilteredFuntionSignatures = new Dictionary<string, FilteredSignature>();
            dFilesLines = new Dictionary<string, List<string>>();

            dO2Vars = new Dictionary<string, object>();
            dRegExes = new Dictionary<string, Regex>();

            sourceCodeMappingFileName = "SourceCodeMappingsFile.xml";
            sourceCodeMappings = SourceCodeMappingsUtils.getSourceCodeMappings();
            PathToGac = Path.Combine(Environment.GetEnvironmentVariable("windir") ?? "", "Assembly");//\\GAC_MSIL");                        
        }