From 001c78573eb132dadad1fcd8162d2966fbf0d402 Mon Sep 17 00:00:00 2001
From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com>
Date: Mon, 8 Jun 2020 17:14:20 -0500
Subject: [PATCH] Add XML documentation
---
.../QuickConnect/ConfigurationExtension.cs | 17 +++++++++++++++--
.../QuickConnect/QuickConnectConfiguration.cs | 11 +++++++++--
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/Emby.Server.Implementations/QuickConnect/ConfigurationExtension.cs b/Emby.Server.Implementations/QuickConnect/ConfigurationExtension.cs
index 0e35ba80ab..349010039b 100644
--- a/Emby.Server.Implementations/QuickConnect/ConfigurationExtension.cs
+++ b/Emby.Server.Implementations/QuickConnect/ConfigurationExtension.cs
@@ -1,20 +1,33 @@
-#pragma warning disable CS1591
-
using System.Collections.Generic;
using MediaBrowser.Common.Configuration;
namespace Emby.Server.Implementations.QuickConnect
{
+ ///
+ /// Configuration extension to support persistent quick connect configuration
+ ///
public static class ConfigurationExtension
{
+ ///
+ /// Return the current quick connect configuration
+ ///
+ /// Configuration manager
+ ///
public static QuickConnectConfiguration GetQuickConnectConfiguration(this IConfigurationManager manager)
{
return manager.GetConfiguration("quickconnect");
}
}
+ ///
+ /// Configuration factory for quick connect
+ ///
public class QuickConnectConfigurationFactory : IConfigurationFactory
{
+ ///
+ /// Returns the current quick connect configuration
+ ///
+ ///
public IEnumerable GetConfigurations()
{
return new ConfigurationStore[]
diff --git a/Emby.Server.Implementations/QuickConnect/QuickConnectConfiguration.cs b/Emby.Server.Implementations/QuickConnect/QuickConnectConfiguration.cs
index 11e558bae1..e1881f2783 100644
--- a/Emby.Server.Implementations/QuickConnect/QuickConnectConfiguration.cs
+++ b/Emby.Server.Implementations/QuickConnect/QuickConnectConfiguration.cs
@@ -1,15 +1,22 @@
-#pragma warning disable CS1591
-
using MediaBrowser.Model.QuickConnect;
namespace Emby.Server.Implementations.QuickConnect
{
+ ///
+ /// Persistent quick connect configuration
+ ///
public class QuickConnectConfiguration
{
+ ///
+ /// Quick connect configuration object
+ ///
public QuickConnectConfiguration()
{
}
+ ///
+ /// Persistent quick connect availability state
+ ///
public QuickConnectState State { get; set; }
}
}