I want to achieve the following, but it seems that its not possible:
[genericValidation || specificValidation]
public int content{ get; set; }
I dont want to fuse both validations, because genericValidation is used in multiple places in the program(other classes), and would have to be copy/pasted on each specificValidation. And specific is only specific to this class so Im trying to keep specific and generic apart.
I want to avoid copy pasting the content of generic, into each specific validation. Given that this generic/specific "OR" happens in several classes.
Is there any way to achieve this?