diff --git a/.gitignore b/.gitignore
index 21fee68..d69308a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -106,3 +106,6 @@ UpgradeLog*.XML
# NuGet
packages/
+
+# MonoDevelop
+NBug.userprefs
diff --git a/NBug/Core/Reporting/BugReport.cs b/NBug/Core/Reporting/BugReport.cs
index da9c89f..79eed96 100644
--- a/NBug/Core/Reporting/BugReport.cs
+++ b/NBug/Core/Reporting/BugReport.cs
@@ -61,7 +61,7 @@ internal ExecutionFlow Report(Exception exception, ExceptionThread exceptionThre
// ToDo: PRIORITY TASK! This code needs more testing & condensation
private void AddAdditionalFiles(ZipStorer zipStorer)
{
- foreach (AdditionalFile additionalFiles in Settings.AdditionalReportFiles)
+ foreach (FileMask additionalFiles in Settings.AdditionalReportFiles)
{
additionalFiles.AddToZip(zipStorer);
}
diff --git a/NBug/Core/Util/Storage/AdditionalFile.cs b/NBug/Core/Util/Storage/FileMask.cs
similarity index 92%
rename from NBug/Core/Util/Storage/AdditionalFile.cs
rename to NBug/Core/Util/Storage/FileMask.cs
index c73ef7c..1cd72ea 100644
--- a/NBug/Core/Util/Storage/AdditionalFile.cs
+++ b/NBug/Core/Util/Storage/FileMask.cs
@@ -6,7 +6,7 @@
namespace NBug.Core.Util.Storage
{
- public class AdditionalFile
+ public class FileMask
{
///
/// Gets or sets a the file path. The files can use * or ? in the same way as DOS modifiers.
@@ -20,20 +20,20 @@ public class AdditionalFile
///
public FileShare FileShare { get; set; }
- public AdditionalFile(String path)
+ public FileMask(String path)
{
this.FilePath = path;
FileShare = FileShare.Read;
}
- public static implicit operator String(AdditionalFile o)
+ public static implicit operator String(FileMask o)
{
return o == null ? null : o.FilePath;
}
- public static implicit operator AdditionalFile(String o)
+ public static implicit operator FileMask(String o)
{
- return o == null ? null : new AdditionalFile(o);
+ return o == null ? null : new FileMask(o);
}
///
diff --git a/NBug/NBug.csproj b/NBug/NBug.csproj
index d7e8d6e..5474877 100644
--- a/NBug/NBug.csproj
+++ b/NBug/NBug.csproj
@@ -107,7 +107,7 @@
ExceptionDetails.cs
-
+
diff --git a/NBug/Settings.cs b/NBug/Settings.cs
index ea80e98..37d6250 100644
--- a/NBug/Settings.cs
+++ b/NBug/Settings.cs
@@ -79,7 +79,7 @@ static Settings()
// GetEntryAssembly() is null if there is no initial GUI/CLI
NBugDirectory = Path.GetDirectoryName(Assembly.GetCallingAssembly().Location) ?? Environment.CurrentDirectory;
- AdditionalReportFiles = new List();
+ AdditionalReportFiles = new List();
// Default to developer mode settings. Settings this now so that any exception below will be handled with correct settings
ReleaseMode = false; // ToDo: This results initial config loading always setup to ThrowExceptions = true;
@@ -212,7 +212,7 @@ public static event Action ProcessingException
///
/// Gets or sets a list of additional files to be added to the report zip. The files can use * or ? in the same way as DOS modifiers.
///
- public static List AdditionalReportFiles { get; set; }
+ public static List AdditionalReportFiles { get; set; }
public static ICollection Destinations
{