mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
add ApplicationPath to app paths interface to hide implementation
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user