3 writes to ValueCountLimit
Microsoft.AspNetCore.WebUtilities.Tests (3)
FormReaderTests.cs (3)
68
var formCollection = await ReadFormAsync(new FormReader(body) {
ValueCountLimit
= 3 });
84
() => ReadFormAsync(new FormReader(body) {
ValueCountLimit
= 3 }));
96
() => ReadFormAsync(new FormReader(body) {
ValueCountLimit
= 3 }));
3 references to ValueCountLimit
Microsoft.AspNetCore.WebUtilities (3)
FormReader.cs (3)
17
/// Gets the default value for <see cref="
ValueCountLimit
"/>.
321
if (accumulator.ValueCount >
ValueCountLimit
)
323
throw new InvalidDataException($"Form value count limit {
ValueCountLimit
} exceeded.");