public VideoExtractorAndCommenter(IAdapter adapter, IVideoCommenter videoCommenter, long threshold) { Adapter = adapter; this.videoCommenter = videoCommenter; this.threshold = threshold; searchStringPhrases.Add(adapter.getSearchString()); threadCount++; threadNumber = threadCount; }
public VideoExtractorAndCommenter(IAdapter adapter, IVideoCommenter videoCommenter, IList <string> searchPhrases, long threshold) { Adapter = adapter; this.videoCommenter = videoCommenter; this.threshold = threshold; foreach (var phrase in searchPhrases) { searchStringPhrases.Add(phrase); } threadCount++; threadNumber = threadCount; }