Пример #1
0
 public SpecificObscurity(TextBlock text, IWordFrequencyList list)
 {
     Text      = text ?? throw new ArgumentNullException(nameof(text));
     this.list = list ?? throw new ArgumentNullException(nameof(list));
 }
Пример #2
0
 public SymSpellFactory(IWordFrequencyList frequency, int?topWords = null)
 {
     this.frequency = frequency ?? throw new ArgumentNullException(nameof(frequency));
     this.topWords  = topWords;
 }