Example #1
0
        /// <summary>
        /// Sets the part cover coverage file.
        /// </summary>
        /// <param name="hostSetup">The host setup.</param>
        /// <param name="partCoverCoverageFile">The part cover coverage file.</param>
        internal static void SetPartCoverCoverageFile(HostSetup hostSetup, string partCoverCoverageFile)
        {
            if (hostSetup == null)
            {
                throw new ArgumentNullException("hostSetup");
            }

            hostSetup.RemoveProperty("PartCoverCoverageFile");
            hostSetup.AddProperty("PartCoverCoverageFile", partCoverCoverageFile);
        }
Example #2
0
 internal static void SetNCoverCoverageFile(HostSetup hostSetup, string ncoverCoverageFile)
 {
     hostSetup.RemoveProperty("NCoverCoverageFile");
     hostSetup.AddProperty("NCoverCoverageFile", ncoverCoverageFile);
 }