示例#1
0
        public object Clone()
        {
            var wordCounts = new WordCounts();

            wordCounts.Processed = new List <WordCount>();
            foreach (var wordCount in Processed)
            {
                wordCounts.Processed.Add(wordCount.Clone() as WordCount);
            }

            wordCounts.Excluded = new List <WordCount>();
            foreach (var wordCount in Excluded)
            {
                wordCounts.Excluded.Add(wordCount.Clone() as WordCount);
            }

            wordCounts.NotProcessed = new List <WordCount>();
            foreach (var wordCount in NotProcessed)
            {
                wordCounts.NotProcessed.Add(wordCount.Clone() as WordCount);
            }

            wordCounts.Total = new List <WordCount>();
            foreach (var wordCount in Total)
            {
                wordCounts.Total.Add(wordCount.Clone() as WordCount);
            }

            return(wordCounts);
        }
示例#2
0
 public TranslationOriginStatistics()
 {
     WordCounts = new WordCounts();
 }
 public ConfirmationStatistics()
 {
     WordCounts = new WordCounts();
 }