mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Add XML doc summaries for the value types
This commit is contained in:
@@ -26,10 +26,22 @@ public class SettingDbModel
|
|||||||
public enum SettingValueType
|
public enum SettingValueType
|
||||||
{
|
{
|
||||||
Boolean,
|
Boolean,
|
||||||
Text, // This includes values which are only decimals
|
/// <summary>
|
||||||
Array, // It's presumed that your array contains text, don't use this if your array contains complex types
|
/// This includes values which are only decimals
|
||||||
// You can use the array value type on delimited values or JSON arrays. For JSON, it's presumed to be like ['str']
|
/// </summary>
|
||||||
Complex, // Basically for JSON blobs that are encoded into settings
|
Text,
|
||||||
Undefined // Default value. Should only be set to this for orphaned settings. My suggestion is you don't allow users
|
/// <summary>
|
||||||
// to interact with settings with an undefined type
|
/// 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']
|
||||||
|
/// </summary>
|
||||||
|
Array,
|
||||||
|
/// <summary>
|
||||||
|
/// Basically for JSON blobs that are encoded into settings
|
||||||
|
/// </summary>
|
||||||
|
Complex,
|
||||||
|
/// <summary>
|
||||||
|
/// 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
|
||||||
|
/// </summary>
|
||||||
|
Undefined
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user