Moved server configuration to the model so that the UI can read it

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-09-02 09:45:02 -04:00
parent 7ad612bb4b
commit e52833059b
14 changed files with 55 additions and 27 deletions

View File

@@ -0,0 +1,17 @@
namespace MediaBrowser.Model.Configuration
{
/// <summary>
/// Serves as a common base class for the Server and UI application Configurations
/// </summary>
public class BaseApplicationConfiguration
{
public bool EnableDebugLevelLogging { get; set; }
public int HttpServerPortNumber { get; set; }
public BaseApplicationConfiguration()
{
HttpServerPortNumber = 8096;
}
}
}