a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
11 lines
356 B
C#
11 lines
356 B
C#
namespace System.Web.Mvc {
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
public class EmptyModelValidatorProvider : ModelValidatorProvider {
|
|
public override IEnumerable<ModelValidator> GetValidators(ModelMetadata metadata, ControllerContext context) {
|
|
return Enumerable.Empty<ModelValidator>();
|
|
}
|
|
}
|
|
}
|