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