From 1bc964c871d73382ffb73662b715e6a7b0db6512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sat, 8 Jan 2022 11:53:22 +0100 Subject: [PATCH] Added XML Documentation --- LeoCorpLibrary/Env.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/LeoCorpLibrary/Env.cs b/LeoCorpLibrary/Env.cs index c18c4c7..b35bf99 100644 --- a/LeoCorpLibrary/Env.cs +++ b/LeoCorpLibrary/Env.cs @@ -539,6 +539,12 @@ public static void LaunchUWPApp(string packageFamilyName, string applicationID) Process.Start("explorer.exe", $@"shell:appsFolder\{packageFamilyName}!{applicationID}"); // Synthax to launch UWP apps } + /// + /// Gets the current of the operating system (Windows only). + /// + /// + /// Returns by default. + /// public static SystemThemes SystemTheme { get @@ -554,10 +560,24 @@ public static SystemThemes SystemTheme } } + /// + /// Available themes on Windows. + /// public enum SystemThemes { + /// + /// Dark theme. + /// Dark, + + /// + /// Light theme. + /// Light, + + /// + /// Unknown theme/OS not supported. + /// Unknown }