aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common.Implementations/BaseApplicationPaths.cs')
-rw-r--r--MediaBrowser.Common.Implementations/BaseApplicationPaths.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs b/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs
index bee5e5dc4..ba68d1f5a 100644
--- a/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs
+++ b/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs
@@ -20,21 +20,23 @@ namespace MediaBrowser.Common.Implementations
/// <summary>
/// Initializes a new instance of the <see cref="BaseApplicationPaths" /> class.
/// </summary>
- /// <param name="useDebugPath">if set to <c>true</c> [use debug paths].</param>
- protected BaseApplicationPaths(bool useDebugPath)
+ protected BaseApplicationPaths(bool useDebugPath, string applicationPath)
{
_useDebugPath = useDebugPath;
+ ApplicationPath = applicationPath;
}
/// <summary>
/// Initializes a new instance of the <see cref="BaseApplicationPaths"/> class.
/// </summary>
- /// <param name="programDataPath">The program data path.</param>
- protected BaseApplicationPaths(string programDataPath)
+ protected BaseApplicationPaths(string programDataPath, string applicationPath)
{
_programDataPath = programDataPath;
+ ApplicationPath = applicationPath;
}
+ public string ApplicationPath { get; private set; }
+
/// <summary>
/// The _program data path
/// </summary>