public void AnalyzeAssembly(AssemblyAnalyser analyser, string fileName)
 {
     if (File.Exists (fileName)) {
         analyser.Analyse (fileName);
         assemblyTreeControl.AddAssembly (fileName, analyser.Resolutions);
     }
 }
 void DisposeAnalyser()
 {
     currentAnalyser = null;
     AppDomain.Unload (analyserDomain);
     analyserDomain = null;
 }
 public void AnalyzeAssembly(AssemblyAnalyser current, string output)
 {
     Console.WriteLine ("analyze assembly called");
 }
        public void RefreshProjectAssemblies()
        {
            if (currentAnalyser == null) {
                currentAnalyser = CreateRemoteAnalyser ();
            }

            IProjectService projectService = (IProjectService) ServiceManager.GetService (typeof (IProjectService));
            ArrayList projectCombineEntries = Combine.GetAllProjects (projectService.CurrentOpenCombine);
            assemblyAnalyserControl.ClearContents ();

            foreach (ProjectCombineEntry projectEntry in projectCombineEntries) {
                string outputAssembly = projectService.GetOutputAssemblyName (projectEntry.Project);
                assemblyAnalyserControl.AnalyzeAssembly (currentAnalyser, outputAssembly);
            }

            assemblyAnalyserControl.PrintAllResolutions ();
        }