31 lines
813 B
C#
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;
|
|
}
|
|
}
|