1 write to _context
Microsoft.AspNetCore.Http.Microbenchmarks (1)
ValidatableTypesBenchmark.cs (1)
42
_context
= new ValidateContext
12 references to _context
Microsoft.AspNetCore.Http.Microbenchmarks (12)
ValidatableTypesBenchmark.cs (12)
112
_context
.ValidationErrors.Clear();
113
await _simpleTypeInfo.ValidateAsync(_simpleModel,
_context
, default);
120
_context
.ValidationErrors.Clear();
121
await _complexTypeInfo.ValidateAsync(_complexModel,
_context
, default);
128
_context
.ValidationErrors.Clear();
129
await _hierarchicalTypeInfo.ValidateAsync(_hierarchicalModel,
_context
, default);
136
_context
.ValidationErrors.Clear();
137
await _ivalidatableObjectTypeInfo.ValidateAsync(_validatableObjectModel,
_context
, default);
144
_context
.ValidationErrors.Clear();
146
await _simpleTypeInfo.ValidateAsync(_simpleModel,
_context
, default);
153
_context
.ValidationErrors.Clear();
155
await _ivalidatableObjectTypeInfo.ValidateAsync(_validatableObjectModel,
_context
, default);