public ActionResult DynamicResult() { return new HypermediaResource() .ConfigureProperty("Number", 10, (NumberValue x) => x.Format = "n2") .ConfigureProperty("Name", 10, (StringValue x) => x.Format = "textarea") .CreateActionResult(); } }