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

Use expression-bodied properties.

parent 468ed448
No related branches found
No related tags found
No related merge requests found
......@@ -221,41 +221,31 @@ namespace ATxCommon.Serializables
/// The full path to the incoming directory.
/// </summary>
[XmlIgnore]
public string IncomingPath {
get { return Path.Combine(SourceDrive, IncomingDirectory); }
}
public string IncomingPath => Path.Combine(SourceDrive, IncomingDirectory);
/// <summary>
/// The full path to the managed directory.
/// </summary>
[XmlIgnore]
public string ManagedPath {
get { return Path.Combine(SourceDrive, ManagedDirectory); }
}
public string ManagedPath => Path.Combine(SourceDrive, ManagedDirectory);
/// <summary>
/// The full path to the processing directory.
/// </summary>
[XmlIgnore]
public string ProcessingPath {
get { return Path.Combine(ManagedPath, "PROCESSING"); }
}
public string ProcessingPath => Path.Combine(ManagedPath, "PROCESSING");
/// <summary>
/// The full path to the done directory / grace location.
/// </summary>
[XmlIgnore]
public string DonePath {
get { return Path.Combine(ManagedPath, "DONE"); }
}
public string DonePath => Path.Combine(ManagedPath, "DONE");
/// <summary>
/// The full path to the directory for unmatched user directories.
/// </summary>
[XmlIgnore]
public string UnmatchedPath {
get { return Path.Combine(ManagedPath, "UNMATCHED"); }
}
public string UnmatchedPath => Path.Combine(ManagedPath, "UNMATCHED");
#endregion
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment