2019-01-13 20:54:44 +01:00
|
|
|
using System.Collections.Generic;
|
2019-01-13 20:20:16 +01:00
|
|
|
using MediaBrowser.Common.Configuration;
|
2014-07-04 04:22:57 +02:00
|
|
|
using MediaBrowser.Model.Branding;
|
|
|
|
|
2016-11-02 21:58:51 +01:00
|
|
|
namespace Emby.Server.Implementations.Branding
|
2014-07-04 04:22:57 +02:00
|
|
|
{
|
2020-04-14 21:19:11 +02:00
|
|
|
/// <summary>
|
2020-04-19 19:39:12 +02:00
|
|
|
/// A configuration factory for <see cref="BrandingOptions"/>.
|
2020-04-14 21:19:11 +02:00
|
|
|
/// </summary>
|
2014-07-04 04:22:57 +02:00
|
|
|
public class BrandingConfigurationFactory : IConfigurationFactory
|
|
|
|
{
|
2020-04-14 21:19:11 +02:00
|
|
|
/// <inheritdoc />
|
2014-07-04 04:22:57 +02:00
|
|
|
public IEnumerable<ConfigurationStore> GetConfigurations()
|
|
|
|
{
|
|
|
|
return new[]
|
|
|
|
{
|
|
|
|
new ConfigurationStore
|
|
|
|
{
|
|
|
|
ConfigurationType = typeof(BrandingOptions),
|
|
|
|
Key = "branding"
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|