22 lines
620 B
C#
22 lines
620 B
C#
|
using MediaBrowser.Common.Configuration;
|
|||
|
using MediaBrowser.Model.Notifications;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace MediaBrowser.Server.Implementations.Notifications
|
|||
|
{
|
|||
|
public class NotificationConfigurationFactory : IConfigurationFactory
|
|||
|
{
|
|||
|
public IEnumerable<ConfigurationStore> GetConfigurations()
|
|||
|
{
|
|||
|
return new List<ConfigurationStore>
|
|||
|
{
|
|||
|
new ConfigurationStore
|
|||
|
{
|
|||
|
Key = "notifications",
|
|||
|
ConfigurationType = typeof (NotificationOptions)
|
|||
|
}
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
}
|