C# Класс Rock.Web.RequestValidator

Validates all http request values
Наследование: System.Web.Util.RequestValidator
Показать файл Открыть проект

Защищенные методы

Метод Описание
IsValidRequestString ( HttpContext context, string value, RequestValidationSource requestValidationSource, string collectionKey, int &validationFailureIndex ) : bool

Validates a string that contains HTTP request data.

Описание методов

IsValidRequestString() защищенный Метод

Validates a string that contains HTTP request data.
protected IsValidRequestString ( HttpContext context, string value, RequestValidationSource requestValidationSource, string collectionKey, int &validationFailureIndex ) : bool
context System.Web.HttpContext The context of the current request.
value string The HTTP request data to validate.
requestValidationSource RequestValidationSource An enumeration that represents the source of request data that is being validated. The following are possible values for the enumeration:QueryStringForm CookiesFilesRawUrlPathPathInfoHeaders
collectionKey string The key in the request collection of the item to validate. This parameter is optional. This parameter is used if the data to validate is obtained from a collection. If the data to validate is not from a collection, can be null.
validationFailureIndex int When this method returns, indicates the zero-based starting point of the problematic or invalid text in the request collection. This parameter is passed uninitialized.
Результат bool