2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Common.Configuration
|
|
|
|
{
|
|
|
|
public interface IConfigurationFactory
|
|
|
|
{
|
|
|
|
IEnumerable<ConfigurationStore> GetConfigurations();
|
|
|
|
}
|
|
|
|
|
|
|
|
public class ConfigurationStore
|
|
|
|
{
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
|
|
|
public Type ConfigurationType { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public interface IValidatingConfiguration
|
|
|
|
{
|
|
|
|
void Validate(object oldConfig, object newConfig);
|
|
|
|
}
|
|
|
|
}
|