I have a controller action that looks like:
public ActionResult DoSomethingCool(int[] someIdNumbers)
{
...
}
I would like to be able to use a custom model binder the create that array of IDs from a list of checkboxes on the client. Is there a way to bind to just that argument? Additionally, is there a way for a model binder to discover the name of the argument being used? For example, in my model binder I would love to know that the name of the argument was "someIdNumbers".