コード例 #1
0
        /*Get Typetable which needs to be used to process the dep Anal Request*/
        TypeTable ExtractTypesToDepAnalyze(Message msg)
        {
            List <string>          solutionFilePaths = Utillity.ConvertToObject <List <string> >(msg.body);
            GetTypeTableOfAProject handler           = new GetTypeTableOfAProject(solutionFilePaths);

            handler.Analyzer();
            return(handler.Results);
        }
コード例 #2
0
ファイル: Utillity.cs プロジェクト: Isira/DependencyAnalyzer
        static void Main(string[] args)
        {
            string obj = new string("Hello".ToCharArray());
            string xmlRepresentation = Utillity.ConvertToXml(obj);

            Console.WriteLine(xmlRepresentation);

            Object stringRepresentation = ConvertToObject <string>(xmlRepresentation);

            Console.WriteLine(stringRepresentation);
        }
コード例 #3
0
        void OnListOfProjectsReceived(Message msg)
        {
            List <string> projects = Utillity.ConvertToObject <List <string> >(msg.body);

            display.ProjectsReceived(msg.src, projects);
        }