/// <summary> /// Create an instance of solution monitor. /// </summary> /// <param name="openSolution"></param> /// <param name="SrcMLServiceDirectory"></param> /// <param name="lastModifiedArchive"></param> /// <param name="CurrentSrcMLArchive"></param> /// <returns></returns> private static SolutionMonitor CreateMonitor(Solution openSolution, string SrcMLServiceDirectory, AbstractArchive lastModifiedArchive, params AbstractArchive[] CurrentSrcMLArchive) { Contract.Requires(openSolution != null, "A solution must be open"); var currentMonitor = new SolutionMonitor(SolutionWrapper.Create(openSolution), SrcMLServiceDirectory, lastModifiedArchive, CurrentSrcMLArchive); return(currentMonitor); }
/// <summary> /// Create an instance of solution monitor. /// </summary> /// <param name="openSolution"></param> /// <param name="SrcMLServiceDirectory"></param> /// <param name="lastModifiedArchive"></param> /// <param name="CurrentSrcMLArchive"></param> /// <returns></returns> private static SolutionMonitor CreateMonitor(Solution openSolution, string SrcMLServiceDirectory, IArchive lastModifiedArchive, params IArchive[] CurrentSrcMLArchive) { Contract.Requires(openSolution != null, "A solution must be open"); var currentMonitor = new SolutionMonitor(SolutionWrapper.Create(openSolution), SrcMLServiceDirectory, lastModifiedArchive, CurrentSrcMLArchive); return currentMonitor; }