/// <summary>
        /// Initializes a new instance of the StyleCopStageProcess class, using the specified <see cref="IDaemonProcess"/> .
        /// </summary>
        /// <param name="runner">
        /// A reference to the StyleCop runner.
        /// </param>
        /// <param name="daemonProcess">
        /// <see cref="IDaemonProcess"/> to execute within. 
        /// </param>
        /// <param name="settingsStore">
        /// Our settings. 
        /// </param>
        /// <param name="file">
        /// The file to analyze.
        /// </param>
        public StyleCopStageProcess(StyleCopRunnerInt runner, IDaemonProcess daemonProcess, IContextBoundSettingsStore settingsStore, ICSharpFile file)
        {
            StyleCopTrace.In(daemonProcess, settingsStore, file);

            this.runner = runner;
            this.daemonProcess = daemonProcess;
            this.settingsStore = settingsStore;
            this.file = file;
            InitialiseTimers();

            StyleCopTrace.Out();
        }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StyleCopStage"/> class.
 /// </summary>
 /// <param name="bootstrapper">
 /// A reference to the main API entry points
 /// </param>
 public StyleCopStage(StyleCopBootstrapper bootstrapper)
 {
     this.runner = bootstrapper.Runner;
 }