1 write to _errors
Microsoft.Extensions.Options (1)
ValidateOptionsResultBuilder.cs (1)
118
private List<string> Errors =>
_errors
??= new();
5 references to _errors
Microsoft.Extensions.Options (5)
ValidateOptionsResultBuilder.cs (5)
103
if (
_errors
?.Count > 0)
105
return ValidateOptionsResult.Fail(
_errors
);
114
public void Clear() =>
_errors
?.Clear();
116
private int ErrorsCount =>
_errors
is null ? 0 :
_errors
.Count;