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