CA2227 and ASP.NET Model Binding
I believe you would need to create a custom ModelBinder
to work around this, which isn't worth it. In this case since there's reasonable benefit to break the rule go ahead and suppress it.
I believe you would need to create a custom ModelBinder
to work around this, which isn't worth it. In this case since there's reasonable benefit to break the rule go ahead and suppress it.