1 write to _context
Microsoft.AspNetCore.Http.Microbenchmarks (1)
ValidatableTypesBenchmark.cs (1)
44
_context
= new ValidateContext
12 references to _context
Microsoft.AspNetCore.Http.Microbenchmarks (12)
ValidatableTypesBenchmark.cs (12)
114
_context
.ValidationErrors.Clear();
115
await _simpleTypeInfo.ValidateAsync(_simpleModel,
_context
, default);
122
_context
.ValidationErrors.Clear();
123
await _complexTypeInfo.ValidateAsync(_complexModel,
_context
, default);
130
_context
.ValidationErrors.Clear();
131
await _hierarchicalTypeInfo.ValidateAsync(_hierarchicalModel,
_context
, default);
138
_context
.ValidationErrors.Clear();
139
await _ivalidatableObjectTypeInfo.ValidateAsync(_validatableObjectModel,
_context
, default);
146
_context
.ValidationErrors.Clear();
148
await _simpleTypeInfo.ValidateAsync(_simpleModel,
_context
, default);
155
_context
.ValidationErrors.Clear();
157
await _ivalidatableObjectTypeInfo.ValidateAsync(_validatableObjectModel,
_context
, default);