public void Append(IDailyList dailyList)
        {
            DailyListSerializer serializer = new DailyListSerializer();

            using (StreamWriter writer = File.AppendText(this.FileName))
            {
                string line = serializer.Serialize(dailyList);
                writer.WriteLine(line);
            }
        }
        public void Append(IDailyList dailyList)
        {
            DailyListSerializer serializer = new DailyListSerializer();

            using (StreamWriter writer = File.AppendText(this.FileName))
            {
                string line = serializer.Serialize(dailyList);
                writer.WriteLine(line);
            }
        }
        private IEnumerable <IDailyList> GetAll(TextReader reader)
        {
            DailyListSerializer serializer = new DailyListSerializer();

            while (true)
            {
                string line = reader.ReadLine();

                if (line == null)
                {
                    yield break;
                }

                yield return(serializer.Deserialize(line));
            }
        }
        private IEnumerable<IDailyList> GetAll(TextReader reader)
        {
            DailyListSerializer serializer = new DailyListSerializer();

            while (true)
            {

                string line = reader.ReadLine();

                if (line == null)
                    yield break;

                yield return serializer.Deserialize(line);

            }
        }