You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Model/Configuration/BaseApplicationConfiguratio...

25 lines
800 B

using ProtoBuf;
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>
[ProtoContract, ProtoInclude(50, typeof(ServerConfiguration))]
public class BaseApplicationConfiguration
{
[ProtoMember(1)]
public bool EnableDebugLevelLogging { get; set; }
[ProtoMember(2)]
public int HttpServerPortNumber { get; set; }
public BaseApplicationConfiguration()
{
HttpServerPortNumber = 8096;
}
}
}