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