Click here to Skip to main content
15,914,392 members
Articles / Programming Languages / C#

A Generic Mapper with Value Tuples and Generic Tests.

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
2 Oct 2019CPOL8 min read 8.3K   78   4  
This piece illustrates how to construct a simple generic mapper that will copy every property value from one class to another where the name and type of the property is the same in both classes; it goes on to suggest a way of constructing generic tests that can be used for any instance of the

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Student
Wales Wales
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions