2014-06-29 17:35:05 +00:00
|
|
|
|
using System;
|
|
|
|
|
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; }
|
|
|
|
|
}
|
2014-12-21 19:40:37 +00:00
|
|
|
|
|
|
|
|
|
public interface IValidatingConfiguration
|
|
|
|
|
{
|
|
|
|
|
void Validate(object oldConfig, object newConfig);
|
|
|
|
|
}
|
2014-06-29 17:35:05 +00:00
|
|
|
|
}
|