private Dictionary<NoteFeature, int> GetCountDic(IEnumerable<QueryLog> logList) { Dictionary<NoteFeature, int> retDic = new Dictionary<NoteFeature, int>(); foreach (var l in logList) { var fea = new NoteFeature { Feature = l.Feature, Mold = (QueryClient.FliterService.QueryMold)l.Mold }; if (retDic.Keys.Contains(fea)) { retDic[fea]++; } else { retDic.Add(fea, 1); } } return retDic; }
private void AddToBlackNote(NoteFeature noteFeature) { throw new NotImplementedException(); }