c# - Data annotation to replace property's value? -
Is it possible to use the data annotation feature to create a new refine after manipulating and manipulating text?
For example, I want to validate a string property to place multiple locations between special characters or words, then return a new string to change the value of the original asset.
How likely is it to use data annotations?
Conak's suggestion is the best way to do this. However, you can write your base class and use the reflection that you want with the contents of the members of the type.
Comments
Post a Comment