IConfigurationFactory.cs 505 B

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