mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Create and use ParentablePath
This commit is contained in:
17
SabreTools.Library/Tools/ParentablePath.cs
Normal file
17
SabreTools.Library/Tools/ParentablePath.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace SabreTools.Library.Tools
|
||||
{
|
||||
/// <summary>
|
||||
/// A path that optionally contains a parent root
|
||||
/// </summary>
|
||||
public class ParentablePath
|
||||
{
|
||||
public string CurrentPath { get; set; }
|
||||
public string ParentPath { get; set; }
|
||||
|
||||
public ParentablePath(string currentPath, string parentPath = null)
|
||||
{
|
||||
CurrentPath = currentPath;
|
||||
ParentPath = parentPath;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user