11 references to RequestValidator
System.Web (11)
HttpRequest.cs (1)
2696if (!RequestValidator.Current.IsValidRequestString(contextToProvide, value, requestCollection, collectionKey, out validationFailureIndex)) {
HttpRuntime.cs (1)
663RequestValidator.InitializeOnFirstRequest();
Util\RequestValidator.cs (9)
22private static RequestValidator _customValidator; 24private static readonly Lazy<RequestValidator> _customValidatorResolver = 25new Lazy<RequestValidator>(GetCustomValidatorFromConfig); 27public static RequestValidator Current { 42private static RequestValidator GetCustomValidatorFromConfig() { 50ConfigUtil.CheckBaseType(typeof(RequestValidator) /* expectedBaseType */, validatorType, "requestValidationType", runtimeSection); 53RequestValidator validator = (RequestValidator)HttpRuntime.CreatePublicInstanceByWebObjectActivator(validatorType); 59RequestValidator validator = _customValidatorResolver.Value;