private void SavePartCoverSettings() { OpenCoverSettings settings = new OpenCoverSettings(); settings.Include.AddRange(MakeStringArray(includeListTextBox.Text)); settings.Exclude.AddRange(MakeStringArray(excludeListTextBox.Text)); settings.Save(OpenCoverSettings.GetFileName(base.Project)); }
void SavePartCoverSettings() { OpenCoverSettings settings = new OpenCoverSettings(); settings.Include.AddRange(RemoveEmptyStrings(includeListTextBox.Lines)); settings.Exclude.AddRange(RemoveEmptyStrings(excludeListTextBox.Lines)); settings.Save(OpenCoverSettings.GetFileName(project)); }
public OpenCoverSettings CreateOpenCoverSettings(IProject project) { string fileName = OpenCoverSettings.GetFileName(project); if (fileSystem.FileExists(fileName)) { return(CreateOpenCoverSettingsFromFile(fileName)); } return(new OpenCoverSettings()); }
void ReadPartCoverSettings() { string settingsFileName = OpenCoverSettings.GetFileName(project); if (File.Exists(settingsFileName)) { OpenCoverSettings settings = new OpenCoverSettings(settingsFileName); includeListTextBox.Text = ConvertToMultLineString(settings.Include); excludeListTextBox.Text = ConvertToMultLineString(settings.Exclude); } }