/// <summary> /// Writes the content of the report settings to the specified preference set. /// </summary> /// <param name="preferenceSet">The preference set to write data in.</param> public void WriteTo(IPreferenceSet preferenceSet) { if (preferenceSet == null) { throw new ArgumentNullException("preferenceSet"); } preferenceSet.Write(writer => writer.SetSetting(new Key <string>("ReportSettingsReportType"), reportType)); preferenceSet.Write(writer => writer.SetSetting(new Key <int>("ReportSettingsAutoCondenseThreadhold"), autoCondenseThreshold)); }
/// <summary> /// Writes the contents of the settings to the specified preference set. /// </summary> /// <param name="preferenceSet">The preference set to write data in.</param> public void WriteTo(IPreferenceSet preferenceSet) { if (preferenceSet == null) { throw new ArgumentNullException("preferenceSet"); } preferenceSet.Write(writer => writer.SetSetting(new Key <bool>("HtmlReportSplitEnabled"), Enabled)); preferenceSet.Write(writer => writer.SetSetting(new Key <int>("HtmlReportSplitPageSize"), pageSize)); }
/// <summary> /// Writes the contents of the settings to the specified preference set. /// </summary> /// <param name="preferenceSet">The preference set to write data in.</param> public void WriteTo(IPreferenceSet preferenceSet) { if (preferenceSet == null) throw new ArgumentNullException("preferenceSet"); preferenceSet.Write(writer => writer.SetSetting(new Key<bool>("HtmlReportSplitEnabled"), Enabled)); preferenceSet.Write(writer => writer.SetSetting(new Key<int>("HtmlReportSplitPageSize"), pageSize)); }
public void SetInstallationModeForFramework(string frameworkId, TDNetRunnerInstallationMode mode) { PreferenceSet.Write(writer => writer.SetSetting( FrameworkInstallationModeKey(frameworkId), mode)); }