﻿using System.Collections.Generic;

namespace Tempest.Core.Serialization.Test
{
    public class DummyICSV : ICSV
    {
        private int id;

        public int Id { get { return id; } }

        public string Alias { get { return alias; } }

        private string alias;

        public DummyICSV(int id, string alias)
        {
            this.id = id;
            this.alias = alias;
        }

        public IEnumerable<string> CSVElementNames
        {
            get { return csvElementNames; }
        }

        private static IEnumerable<string> csvElementNames = new string[]
        {
            "Id",
            "Alias"
        };

        public IEnumerable<object> CSVElements
        {
            get
            {
                return new object[] { Id, Alias };
            }
        }
    }
}