Пример #1
0
        public void FromTypeWithAliasTest()
        {
            var header = CsvHeader.FromType <Person2>();

            Assert.AreEqual(CsvHeader.FromValues("first_name", "age"), header);
        }
Пример #2
0
        public void FromTypeTest()
        {
            var header = CsvHeader.FromType <Person1>();

            Assert.AreEqual(CsvHeader.FromValues("Name", "Age"), header);
        }