jellyfin/MediaBrowser.Common/Configuration/IConfigurationFactory.cs

26 lines
536 B
C#
Raw Normal View History

#pragma warning disable CS1591
2019-12-10 18:13:57 -05:00
#pragma warning disable SA1600
using System;
2018-12-27 18:27:57 -05: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);
}
}