What is the difference between BindProperty and SetProperty on IModelBinder

前端 未结 2 462
长情又很酷
长情又很酷 2021-02-13 21:17

I\'m creating a custom model binder in an Mvc application and I want to parse a string to an enumeration value and assign it to the model property. I have got it working overrid

2条回答
提交回复
热议问题