Hi, I want to implement a validator which would check if the property value is within a certain collection (list, params, array, etc.).
It's a simple validator and I realize that I can use 'Must' to achieve this, but can this be done using a custom [Property] validator? I think the main blocker for me is that I don't know how to include arguments in the custom validator.
Thanks!
It's a simple validator and I realize that I can use 'Must' to achieve this, but can this be done using a custom [Property] validator? I think the main blocker for me is that I don't know how to include arguments in the custom validator.
Thanks!