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