1 write to _requiredAttribute
Microsoft.AspNetCore.Http.Abstractions (1)
Validation\ValidatableParameterInfo.cs (1)
74if (_requiredAttribute is not null || validationAttributes.TryGetRequiredAttribute(out _requiredAttribute))
2 references to _requiredAttribute
Microsoft.AspNetCore.Http.Abstractions (2)
Validation\ValidatableParameterInfo.cs (2)
74if (_requiredAttribute is not null || validationAttributes.TryGetRequiredAttribute(out _requiredAttribute)) 76var result = _requiredAttribute.GetValidationResult(value, context.ValidationContext);