From d45eb854fa49916c7643b536ac22eda6268cd9e4 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 10 Feb 2021 22:55:56 -0600 Subject: stub reflective mapping --- src/slskd/Options.cs | 139 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 136 insertions(+), 3 deletions(-) (limited to 'src/slskd/Options.cs') diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs index d8fc7230..3014bb35 100644 --- a/src/slskd/Options.cs +++ b/src/slskd/Options.cs @@ -21,6 +21,9 @@ namespace slskd using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics; + using System.Linq; + using System.Reflection; + using slskd.Common.Configuration; using slskd.Validation; using Soulseek.Diagnostics; using Utility.CommandLine; @@ -41,6 +44,47 @@ namespace slskd /// public static Options Defaults { get; } = new Options(); + public static IEnumerable