From 75e958cd2a3ba3089c2041b6c12d8a5d1cf69f77 Mon Sep 17 00:00:00 2001
From: barelyprofessional
<150058423+barelyprofessional@users.noreply.github.com>
Date: Tue, 17 Feb 2026 21:55:51 -0600
Subject: [PATCH] Add XML doc summaries for the value types
---
.../Models/DbModels/SettingDbModel.cs | 24 ++++++++++++++-----
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/KfChatDotNetBot/Models/DbModels/SettingDbModel.cs b/KfChatDotNetBot/Models/DbModels/SettingDbModel.cs
index d6e81f8..62f9915 100644
--- a/KfChatDotNetBot/Models/DbModels/SettingDbModel.cs
+++ b/KfChatDotNetBot/Models/DbModels/SettingDbModel.cs
@@ -26,10 +26,22 @@ public class SettingDbModel
public enum SettingValueType
{
Boolean,
- Text, // This includes values which are only decimals
- Array, // It's presumed that your array contains text, don't use this if your array contains complex types
- // You can use the array value type on delimited values or JSON arrays. For JSON, it's presumed to be like ['str']
- Complex, // Basically for JSON blobs that are encoded into settings
- Undefined // Default value. Should only be set to this for orphaned settings. My suggestion is you don't allow users
- // to interact with settings with an undefined type
+ ///
+ /// This includes values which are only decimals
+ ///
+ Text,
+ ///
+ /// It's presumed that your array contains text, don't use this if your array contains complex types
+ /// You can use the array value type on delimited values or JSON arrays. For JSON, it's presumed to be like ['str']
+ ///
+ Array,
+ ///
+ /// Basically for JSON blobs that are encoded into settings
+ ///
+ Complex,
+ ///
+ /// Default value. Should only be set to this for orphaned settings. My suggestion is you don't allow users
+ /// to interact with settings with an undefined type
+ ///
+ Undefined
}
\ No newline at end of file