mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 19:17:24 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
namespace MediaBrowser.Model.Configuration
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// Serves as a common base class for the Server and UI application Configurations
 | 
						|
    /// ProtoInclude tells Protobuf about subclasses,
 | 
						|
    /// The number 50 can be any number, so long as it doesn't clash with any of the ProtoMember numbers either here or in subclasses.
 | 
						|
    /// </summary>
 | 
						|
    public class BaseApplicationConfiguration
 | 
						|
    {
 | 
						|
        /// <summary>
 | 
						|
        /// The number of days we should retain log files
 | 
						|
        /// </summary>
 | 
						|
        /// <value>The log file retention days.</value>
 | 
						|
        public int LogFileRetentionDays { get; set; }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// Gets or sets a value indicating whether this instance is first run.
 | 
						|
        /// </summary>
 | 
						|
        /// <value><c>true</c> if this instance is first run; otherwise, <c>false</c>.</value>
 | 
						|
        public bool IsStartupWizardCompleted { get; set; }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// Gets or sets the cache path.
 | 
						|
        /// </summary>
 | 
						|
        /// <value>The cache path.</value>
 | 
						|
        public string CachePath { get; set; }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// Initializes a new instance of the <see cref="BaseApplicationConfiguration" /> class.
 | 
						|
        /// </summary>
 | 
						|
        public BaseApplicationConfiguration()
 | 
						|
        {
 | 
						|
            LogFileRetentionDays = 3;
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |