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