mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Added in memory caching
This commit is contained in:
@@ -2,8 +2,9 @@ using KfChatDotNetBot.Models.DbModels;
|
||||
|
||||
namespace KfChatDotNetBot.Settings;
|
||||
|
||||
public class SettingValue(string? value, SettingDbModel? dbEntry)
|
||||
public class SettingValue(string? value, SettingDbModel dbEntry, bool cached)
|
||||
{
|
||||
public string? Value { get; set; } = value;
|
||||
public SettingDbModel? DbEntry { get; set; } = dbEntry;
|
||||
public SettingDbModel DbEntry { get; set; } = dbEntry;
|
||||
public bool Cached { get; set; } = cached;
|
||||
}
|
||||
Reference in New Issue
Block a user