62,046
社区成员
发帖
与我相关
我的任务
分享
public class APIBinder : System.Web.Http.ModelBinding.IModelBinder
{
#region IModelBinder 成员
public bool BindModel( System.Web.Http.Controllers.HttpActionContext actionContext, System.Web.Http.ModelBinding.ModelBindingContext bindingContext )
{
return true;
}
#endregion
}
public string Post([ModelBinder(typeof(APIBinder))] KeyValueEx kve )
{
return null;
}