diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-02-23 12:11:43 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-02-23 12:11:43 +0100 |
| commit | 07cc4be6a747cfea40ee7a540385d6d8f38de726 (patch) | |
| tree | 4bb46379abc5df6bf2a3e385b5fd281aa4c80b3d /MediaBrowser.XbmcMetadata/Configuration/NfoConfigurationFactory.cs | |
| parent | 72c98e41ca2c0042edf645298371245c1abee354 (diff) | |
Fix some warnings
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
Diffstat (limited to 'MediaBrowser.XbmcMetadata/Configuration/NfoConfigurationFactory.cs')
| -rw-r--r-- | MediaBrowser.XbmcMetadata/Configuration/NfoConfigurationFactory.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/MediaBrowser.XbmcMetadata/Configuration/NfoConfigurationFactory.cs b/MediaBrowser.XbmcMetadata/Configuration/NfoConfigurationFactory.cs new file mode 100644 index 0000000000..8325bfdbd5 --- /dev/null +++ b/MediaBrowser.XbmcMetadata/Configuration/NfoConfigurationFactory.cs @@ -0,0 +1,24 @@ +#pragma warning disable CS1591 + +using System.Collections.Generic; +using MediaBrowser.Common.Configuration; +using MediaBrowser.Model.Configuration; + +namespace MediaBrowser.XbmcMetadata.Configuration +{ + public class NfoConfigurationFactory : IConfigurationFactory + { + /// <inheritdoc /> + public IEnumerable<ConfigurationStore> GetConfigurations() + { + return new[] + { + new ConfigurationStore + { + ConfigurationType = typeof(XbmcMetadataOptions), + Key = "xbmcmetadata" + } + }; + } + } +} |
