Beispiel #1
0
        /// <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>
 /// Constructor.
 /// </summary>
 /// <param name="openSolution"></param>
 /// <param name="baseDirectory"></param>
 /// <param name="defaultArchive"></param>
 /// <param name="otherArchives"></param>
 public SolutionMonitor(SolutionWrapper openSolution, string baseDirectory, AbstractArchive defaultArchive, params AbstractArchive[] otherArchives)
     : base(baseDirectory, defaultArchive, otherArchives)
 {
     this.OpenSolution = openSolution;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="openSolution"></param>
 /// <param name="baseDirectory"></param>
 /// <param name="defaultArchive"></param>
 /// <param name="otherArchives"></param>
 public SolutionMonitor(SolutionWrapper openSolution, string baseDirectory, AbstractArchive defaultArchive, params AbstractArchive[] otherArchives)
     : base(baseDirectory, defaultArchive, otherArchives) {
     this.OpenSolution = openSolution;
 }
Beispiel #4
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="openSolution"></param>
 /// <param name="baseDirectory"></param>
 /// <param name="defaultArchive"></param>
 /// <param name="otherArchives"></param>
 public SolutionMonitor(SolutionWrapper openSolution, string baseDirectory, IArchive defaultArchive, params IArchive[] otherArchives)
     : base(baseDirectory, defaultArchive, otherArchives) {
     this.OpenSolution = openSolution;
     this.UseAsyncMethods = true;
 }