From 3c5199401bdf3c4a3c9e44c9c76cfccaede52a1e Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Wed, 7 Mar 2018 23:28:45 +0100
Subject: [PATCH] Clean up DriveToCheck class.

---
 ATxCommon/Serializables/DriveToCheck.cs | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/ATxCommon/Serializables/DriveToCheck.cs b/ATxCommon/Serializables/DriveToCheck.cs
index 2c43e0c..279dcb8 100644
--- a/ATxCommon/Serializables/DriveToCheck.cs
+++ b/ATxCommon/Serializables/DriveToCheck.cs
@@ -1,6 +1,4 @@
-using System.Xml.Serialization;
-
-namespace ATxCommon.Serializables
+namespace ATxCommon.Serializables
 {
     /// <summary>
     /// Helper class for the nested SpaceMonitoring sections.
@@ -10,14 +8,11 @@ namespace ATxCommon.Serializables
         /// <summary>
         /// A drive name (single letter followed by a colon, e.g. "D:") to be monitored for space.
         /// </summary>
-        [XmlElement("DriveName")]
         public string DriveName { get; set; }
 
         /// <summary>
         /// Limit (in MB) of free space, lower values will trigger a notification.
         /// </summary>
-        /// Value is to be compared to DriveInfo.TotalFreeSpace, hence the same type (long).
-        [XmlElement("SpaceThreshold")]
         public long SpaceThreshold { get; set; }
     }
 }
\ No newline at end of file
-- 
GitLab