Hi,
I have a very large object that has around 50 parameters, and was looking for an easy method to validate that the paremeters are populated.
I don't really want to go throuhg each parameter with
I have seen something about using Reflection, but a comment says that it has a great impact on performance.
any ideas?
thanks in advance
I have a very large object that has around 50 parameters, and was looking for an easy method to validate that the paremeters are populated.
I don't really want to go throuhg each parameter with
Code:
if (object.Parameter == String.Empty) {
//then do something
}
I have seen something about using Reflection, but a comment says that it has a great impact on performance.
any ideas?
thanks in advance