Files
webdoorcreator/WebDoorCreator.UI/Data/WDCVocabularyService.cs
T
2023-04-03 16:02:36 +02:00

31 lines
813 B
C#

namespace WebDoorCreator.UI.Data
{
public class WDCVocabularyService
{
public event Action EA_VocabularyLemmas = null!;
public List<Dictionary<string, Dictionary<string, string>>>? VocabularyLemmas
{
get => _vocabularyLemmas;
set
{
if (_vocabularyLemmas != value)
{
_vocabularyLemmas = value;
reportVocabularyLemmas();
}
}
}
protected void reportVocabularyLemmas()
{
if (EA_VocabularyLemmas != null)
{
EA_VocabularyLemmas?.Invoke();
}
}
private List<Dictionary<string, Dictionary<string, string>>>? _vocabularyLemmas { get; set; } = null;
}
}