В настоящее время код: < /p>
Код: Выделить всё
RuleFor(entity => entity.A).CustomExtension("test")
...
public static IRuleBuilder CustomExtension(this IRuleBuilder builder, string someValue){
< /code>
Мне нужно изменить это так, чтобы ... < /p>
RuleFor(entity => entity.A).CustomExtension(entity.PropertyB) //
Подробнее здесь: [url]https://stackoverflow.com/questions/64110589/fluentvalidation-custom-extension-method-with-parameters-from-base-entity[/url]