public void SetSource(IWordsSource source) { this.source = source; }
public DefaultSentencesSource(IWordsSource wordsSource, SentenceSourceSettings settings) { _random = new Random(DateTime.UtcNow.Millisecond); _wordsSource = wordsSource; _sentencesPool = InitializePool(settings); }