public static void demoRequirement5() { Console.WriteLine("Now demostrating requirement 5, Run dependency analysis base on all the user-defined types"); Console.WriteLine("implemented rules and actions to detect user defined type" + "\n public class DetectClass : ARule" + "\n public class DetectEnum : ARule" + "\n public class DetectNamespace : ARule" + "\n public class DetectDelegate : ARule" + "\n public class DetectAlias : ARule" + "\n public class DetectFunction : ARule" + "\n\n And Also designed a facility to detect same type name that defined in different namespace"); Console.WriteLine("As a demostrating, I will run the analysis on this project dirtory,\n and all the .cs file under this dirtory and subdirtory will be analyzed"); Console.WriteLine("Run a dependency analysis and display the result"); Console.WriteLine("------------------------------------------------------------------------------------------------------------------------------------------------------------------------------"); DepAnalysis depAnalyser = new DepAnalysis(); depAnalyser.setpath(path); // set path the the project3 dirtory; depAnalyser.analyze(); depAnalyser.display(); // calling the wraped function to run dependency analysis Console.WriteLine("finish demostrating requirement5"); Console.WriteLine("----------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n\n"); }