Changed the default way to modify values in store. Added basic validation to stores. Using interfaces to DI store objects.

This commit is contained in:
Tom
2025-01-16 19:49:02 +00:00
parent b00c72ec2a
commit ee3f128a9f
24 changed files with 173 additions and 61 deletions

View File

@@ -12,7 +12,7 @@ namespace HermesSocketServer.Requests
private IStore<string, TTSVoice> _voices;
private ILogger _logger;
public UpdateTTSVoice(VoiceStore voices, ILogger logger)
public UpdateTTSVoice(IStore<string, TTSVoice> voices, ILogger logger)
{
_voices = voices;
_logger = logger;