jellyfin-server/MediaBrowser.Common/Configuration/IConfigurationFactory.cs

26 lines
536 B
C#
Raw Normal View History

#pragma warning disable CS1591
2019-12-10 23:13:57 +00:00
#pragma warning disable SA1600
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);
}
}