9 lines
268 B
C#
9 lines
268 B
C#
|
public class CustomRequestValidation : RequestValidator
|
||
|
{
|
||
|
protected override bool IsValidRequestString(
|
||
|
HttpContext context, string value,
|
||
|
RequestValidationSource requestValidationSource,
|
||
|
string collectionKey,
|
||
|
out int validationFailureIndex)
|
||
|
{...}
|
||
|
}
|