Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Add Validation Method to string property of classes

$
0
0

Hi every body

I want to add some validation methods to string property of my classes for example countryclass.code.validateNumber() ,cityclass.code.validateNumber().

As you see validateNumber() one time write and added to all classes property.

Thanks for any guide

Regards

Ali 


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>