ServerConfiguration.cs 750 B

123456789101112131415161718192021222324252627282930
  1. using MediaBrowser.Model.Weather;
  2. using ProtoBuf;
  3. namespace MediaBrowser.Model.Configuration
  4. {
  5. /// <summary>
  6. /// Represents the server configuration.
  7. /// </summary>
  8. [ProtoContract]
  9. public class ServerConfiguration : BaseApplicationConfiguration
  10. {
  11. [ProtoMember(3)]
  12. public bool EnableInternetProviders { get; set; }
  13. [ProtoMember(4)]
  14. public bool EnableUserProfiles { get; set; }
  15. [ProtoMember(5)]
  16. public string WeatherZipCode { get; set; }
  17. [ProtoMember(6)]
  18. public WeatherUnits WeatherUnit { get; set; }
  19. public ServerConfiguration()
  20. : base()
  21. {
  22. EnableUserProfiles = true;
  23. }
  24. }
  25. }