static void projectListProcessing(SvcMsg msg) { Intermediator im = new Intermediator(); msg.body = im.getprojectList(); clientConnect(msg); }
static void Main(string[] args) { Intermediator im = new Intermediator(); im.projectScanning("../../../TESTFOLDER"); string dire = im.getprojectList(); Console.Write("\n\nProjectList:\n{0}", dire); im.intialTypeTable("../../../TESTFOLDER"); string typeT = im.getTypeTable(); Console.Write("\n\nOwn TypeTable:\n{0}", typeT); im.typeTableMerging(typeT); string direName = "../../../TESTFOLDER/Directory1"; im.dependencyAnalysis(direName); string direName1 = "../../../TESTFOLDER/Directory2"; im.dependencyAnalysisAll(direName1); string depenResult = im.getDependencyResult(); Console.Write("\n\nDependency Result:\n{0}", depenResult); string depenAllResult = im.getDependencyAllResult(); Console.Write("\n\nInComing Dependency Result:\n{0}", depenAllResult); }