allow separate configuration of app resources path

This commit is contained in:
Luke Pulverenti
2014-11-26 15:57:16 -05:00
parent 17081767da
commit 63a0d52fd1
7 changed files with 25 additions and 29 deletions

View File

@@ -14,24 +14,12 @@ namespace MediaBrowser.Common.Implementations
/// </summary>
protected BaseApplicationPaths(string programDataPath, string applicationPath)
{
_programDataPath = programDataPath;
ProgramDataPath = programDataPath;
ApplicationPath = applicationPath;
}
public string ApplicationPath { get; private set; }
/// <summary>
/// The _program data path
/// </summary>
private readonly string _programDataPath;
/// <summary>
/// Gets the path to the program data folder
/// </summary>
/// <value>The program data path.</value>
public string ProgramDataPath
{
get { return _programDataPath; }
}
public string ProgramDataPath { get; private set; }
/// <summary>
/// Gets the path to the system folder