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