aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-07-12 20:40:54 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-07-12 20:40:54 -0500
commit7cb3260349e0affb271d0a44cc78c4f9139a8b94 (patch)
tree63df9e81f25a5eab37949e1749917cf5310f54fe /src
parente05b98574e6da694924163674353f836fcafb180 (diff)
downloadslskd-7cb3260349e0affb271d0a44cc78c4f9139a8b94.tar.gz
rename back to Common
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Common/Configuration/CommandLineConfigurationSource.cs (renamed from src/slskd/Common/ConfigurationSources/CommandLineConfigurationSource.cs)2
-rw-r--r--src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs (renamed from src/slskd/Common/ConfigurationSources/DefaultValueConfigurationSource.cs)2
-rw-r--r--src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs (renamed from src/slskd/Common/ConfigurationSources/EnvironmentVariableConfigurationSource.cs)2
-rw-r--r--src/slskd/Common/Configuration/RequiresRestartAttribute.cs26
-rw-r--r--src/slskd/Common/Configuration/YamlConfigurationSource.cs (renamed from src/slskd/Common/ConfigurationSources/YamlConfigurationSource.cs)2
5 files changed, 30 insertions, 4 deletions
diff --git a/src/slskd/Common/ConfigurationSources/CommandLineConfigurationSource.cs b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs
index 724a52b3..6cf59808 100644
--- a/src/slskd/Common/ConfigurationSources/CommandLineConfigurationSource.cs
+++ b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs
@@ -15,7 +15,7 @@
// along with this program. If not, see https://www.gnu.org/licenses/.
// </copyright>
-namespace slskd.ConfigurationSources
+namespace slskd.Configuration
{
using System;
using System.Linq;
diff --git a/src/slskd/Common/ConfigurationSources/DefaultValueConfigurationSource.cs b/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs
index 1784ce26..15cf4070 100644
--- a/src/slskd/Common/ConfigurationSources/DefaultValueConfigurationSource.cs
+++ b/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs
@@ -15,7 +15,7 @@
// along with this program. If not, see https://www.gnu.org/licenses/.
// </copyright>
-namespace slskd.ConfigurationSources
+namespace slskd.Configuration
{
using System;
using System.Linq;
diff --git a/src/slskd/Common/ConfigurationSources/EnvironmentVariableConfigurationSource.cs b/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs
index 94823d11..9a09d4e1 100644
--- a/src/slskd/Common/ConfigurationSources/EnvironmentVariableConfigurationSource.cs
+++ b/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs
@@ -15,7 +15,7 @@
// along with this program. If not, see https://www.gnu.org/licenses/.
// </copyright>
-namespace slskd.ConfigurationSources
+namespace slskd.Configuration
{
using System;
using System.Linq;
diff --git a/src/slskd/Common/Configuration/RequiresRestartAttribute.cs b/src/slskd/Common/Configuration/RequiresRestartAttribute.cs
new file mode 100644
index 00000000..9b90eabe
--- /dev/null
+++ b/src/slskd/Common/Configuration/RequiresRestartAttribute.cs
@@ -0,0 +1,26 @@
+// <copyright file="RequiresRestartAttribute.cs" company="slskd Team">
+// Copyright (c) slskd Team. All rights reserved.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see https://www.gnu.org/licenses/.
+// </copyright>
+
+namespace slskd.Configuration
+{
+ using System;
+
+ [AttributeUsage(AttributeTargets.Property)]
+ public class RequiresRestartAttribute : Attribute
+ {
+ }
+}
diff --git a/src/slskd/Common/ConfigurationSources/YamlConfigurationSource.cs b/src/slskd/Common/Configuration/YamlConfigurationSource.cs
index 654f5b2e..82e2227d 100644
--- a/src/slskd/Common/ConfigurationSources/YamlConfigurationSource.cs
+++ b/src/slskd/Common/Configuration/YamlConfigurationSource.cs
@@ -15,7 +15,7 @@
// along with this program. If not, see https://www.gnu.org/licenses/.
// </copyright>
-namespace slskd.ConfigurationSources
+namespace slskd.Configuration
{
using System;
using System.IO;