mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
add ApplicationPath to app paths interface to hide implementation
This commit is contained in:
@@ -13,16 +13,16 @@ namespace MediaBrowser.Server.Implementations
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ServerApplicationPaths" /> class.
|
||||
/// </summary>
|
||||
public ServerApplicationPaths()
|
||||
: base(true)
|
||||
public ServerApplicationPaths(string applicationPath)
|
||||
: base(true, applicationPath)
|
||||
{
|
||||
}
|
||||
#else
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ServerApplicationPaths"/> class.
|
||||
/// </summary>
|
||||
public ServerApplicationPaths()
|
||||
: base(false)
|
||||
public ServerApplicationPaths(string applicationPath)
|
||||
: base(false, applicationPath)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
@@ -30,9 +30,8 @@ namespace MediaBrowser.Server.Implementations
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="BaseApplicationPaths" /> class.
|
||||
/// </summary>
|
||||
/// <param name="programDataPath">The program data path.</param>
|
||||
public ServerApplicationPaths(string programDataPath)
|
||||
: base(programDataPath)
|
||||
public ServerApplicationPaths(string programDataPath, string applicationPath)
|
||||
: base(programDataPath, applicationPath)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user