Apply ValidationAttributes from DataAnnotation to all elements of an IEnumberable

后端 未结 0 983
情歌与酒
情歌与酒 2021-01-25 14:58

I am using Microsoft.Extension.Options in ASP.NET Core 3.1 and I want to validate entries in an configuration file.

For this I want that, e.g. a RangeAttribute, is applie

相关标签:
回答
  • 消灭零回复
提交回复
热议问题