protected internal WordLookupValidator(LookupData lookup) { Debug.Assert(lookup != null); this.lookup = lookup; Hook(lookup); }
protected internal MeaningWordLookupValidator(IWord parentWord, IMeaning meaning, WordCollection childrenWords, LookupData lookup) : base(lookup) { Debug.Assert(parentWord != null); Debug.Assert(meaning != null); Debug.Assert(childrenWords != null); this.parentWord = parentWord; this.meaning = meaning; this.childrenWords = childrenWords; }
protected internal InsertMeaningWordLookupValidator(IWord parentWord, IMeaning meaning, WordCollection childrenWords, LookupData lookup) : base(parentWord, meaning, childrenWords, lookup) { Validate(); }
protected internal FindWordLookupValidator(LookupData lookup) : base(lookup) { Validate(); }
protected internal FindMeaningLookupValidator(LookupData lookup) { Debug.Assert(lookup != null); this.lookup = lookup; Hook(lookup); Validate(); }
protected internal EditMeaningWordLookupValidator(IWord parentWord, IMeaning meaning, WordCollection childrenWords, LookupData lookup) : base(parentWord, meaning, childrenWords, lookup) { WordItem item = (WordItem)this.lookup.Data; this.originalWord = item.Word; Validate(); }