Exemplo n.º 1
0
        private void ChordCacheLoad(Chord unknownChord)
        {
            if (chordsReturned.Count != 0 && ((chordsReturned == null) || (!chordsReturned.Any())))
            {
                ChordCacheClear(unknownChord); //checks whether the chord count matches the file in memory before deciding
            }

            chordList = dao.LoadChordsByCount(unknownChord.ChordNoteList.Count());
        }