示例#1
0
        private static void TestLine(int lineNum, string line)
        {
            LineError = false;
            RegionCheckMethods.CheckForRegionDiscrepancies(line, lineNum);
            ConnectionStringMethods.CheckForDatabaseServerDiscrepancies(line, lineNum);
            EndpointMethods.CheckEndpoint(line, lineNum);

            if (LineError == true)
            {
                Console.ForegroundColor = ConsoleColor.Gray;
                Console.WriteLine(line.Trim());
                Console.WriteLine();
                Console.ResetColor();
            }
        }
示例#2
0
        static void Main(string[] args)
        {
            IgnoreMethods.GetIgnores();
            EndpointMethods.GetBrowseObjects();
            AppSettingsCollection = new List <AppSettingInfo>();
            InstantiateReport();

            SearchDir = "";
            Region    = "";
            //Testing
            //args = ".,dev2".Split(',');
            //SearchDir = ".";
            //Region = "dev2";
            SetArgs(args);
            StartAnalysis();
            WriteReport();
            //Console.ReadLine();
        }