Example #1
0
 protected internal WordLookupValidator(LookupData lookup)
 {
     Debug.Assert(lookup != null);
     this.lookup = lookup;
     Hook(lookup);
 }
Example #2
0
 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;
 }
Example #3
0
 protected internal InsertMeaningWordLookupValidator(IWord parentWord, IMeaning meaning, WordCollection childrenWords, LookupData lookup)
     : base(parentWord, meaning, childrenWords, lookup)
 {
     Validate();
 }
Example #4
0
 protected internal FindWordLookupValidator(LookupData lookup)
     : base(lookup)
 {
     Validate();
 }
Example #5
0
 protected internal FindMeaningLookupValidator(LookupData lookup)
 {
     Debug.Assert(lookup != null);
     this.lookup = lookup;
     Hook(lookup);
     Validate();
 }
Example #6
0
 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();
 }