static void Main(string[] args)
        {
            // This is called when a Dep Anal Message is received
            ConfigurationLoader _loader = new ConfigurationLoader("E:/DependencyAnalyzer/Server1.xml");

            _loader.Load();

            DependencyAgent depAnal = new DependencyAgent(_loader);
            List <string>   selectedProjectPaths = new List <string>();

            selectedProjectPaths.Add("E:/DependencyAnalyzer/Server1.sln");

            Message msg = MessageGenerator.GetDepAnalyzeMessage(selectedProjectPaths,
                                                                _loader.localServiceUrl, _loader.localServiceUrl);

            depAnal.DepAnalize(msg);
        }
Esempio n. 2
0
 public ServerDispatcher(ConfigurationLoader _loader)
 {
     loader   = _loader;
     depAgent = new DependencyAgent(_loader);
 }