Ejemplo n.º 1
0
 public ActionResult InterceptorTest([CustomizeValidator(Interceptor = typeof(SimplePropertyInterceptor))] PropertiesTestModel test)
 {
     return(TestResult());
 }
Ejemplo n.º 2
0
 public ActionResult ClearErrorsInterceptorTest([CustomizeValidator(Interceptor = typeof(ClearErrorsInterceptor))] PropertiesTestModel test)
 {
     return(TestResult());
 }
Ejemplo n.º 3
0
 public ActionResult PropertyTest([CustomizeValidator(Properties = "Surname,Forename")] PropertiesTestModel test)
 {
     return(TestResult());
 }