IConfigurationFactory.cs 536 B

12345678910111213141516171819202122232425
  1. #pragma warning disable CS1591
  2. #pragma warning disable SA1600
  3. using System;
  4. using System.Collections.Generic;
  5. namespace MediaBrowser.Common.Configuration
  6. {
  7. public interface IConfigurationFactory
  8. {
  9. IEnumerable<ConfigurationStore> GetConfigurations();
  10. }
  11. public class ConfigurationStore
  12. {
  13. public string Key { get; set; }
  14. public Type ConfigurationType { get; set; }
  15. }
  16. public interface IValidatingConfiguration
  17. {
  18. void Validate(object oldConfig, object newConfig);
  19. }
  20. }