Skip to content
Snippets Groups Projects
Commit 3c519940 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Clean up DriveToCheck class.

parent 6831233b
Branches
Tags
No related merge requests found
using System.Xml.Serialization; namespace ATxCommon.Serializables
namespace ATxCommon.Serializables
{ {
/// <summary> /// <summary>
/// Helper class for the nested SpaceMonitoring sections. /// Helper class for the nested SpaceMonitoring sections.
...@@ -10,14 +8,11 @@ namespace ATxCommon.Serializables ...@@ -10,14 +8,11 @@ namespace ATxCommon.Serializables
/// <summary> /// <summary>
/// A drive name (single letter followed by a colon, e.g. "D:") to be monitored for space. /// A drive name (single letter followed by a colon, e.g. "D:") to be monitored for space.
/// </summary> /// </summary>
[XmlElement("DriveName")]
public string DriveName { get; set; } public string DriveName { get; set; }
/// <summary> /// <summary>
/// Limit (in MB) of free space, lower values will trigger a notification. /// Limit (in MB) of free space, lower values will trigger a notification.
/// </summary> /// </summary>
/// Value is to be compared to DriveInfo.TotalFreeSpace, hence the same type (long).
[XmlElement("SpaceThreshold")]
public long SpaceThreshold { get; set; } public long SpaceThreshold { get; set; }
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment