25 references to Throw
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (25)
ResourceUtilizationHealthCheck.cs (1)
134
_options =
Throw
.IfMemberNull(options, options.Value);
ResourceUtilizationHealthCheck.Obsolete.cs (1)
22
public void ObsoleteConstructor(IResourceMonitor dataTracker) => _dataTracker =
Throw
.IfNull(dataTracker);
ResourceUtilizationHealthCheckExtensions.cs (20)
28
_ =
Throw
.IfNull(builder);
29
_ =
Throw
.IfNull(tags);
46
_ =
Throw
.IfNull(builder);
47
_ =
Throw
.IfNull(tags);
66
_ =
Throw
.IfNull(builder);
67
_ =
Throw
.IfNull(section);
86
_ =
Throw
.IfNull(builder);
87
_ =
Throw
.IfNull(section);
88
_ =
Throw
.IfNull(tags);
107
_ =
Throw
.IfNull(builder);
108
_ =
Throw
.IfNull(section);
109
_ =
Throw
.IfNull(tags);
126
_ =
Throw
.IfNull(builder);
127
_ =
Throw
.IfNull(configure);
146
_ =
Throw
.IfNull(builder);
147
_ =
Throw
.IfNull(configure);
148
_ =
Throw
.IfNull(tags);
167
_ =
Throw
.IfNull(builder);
168
_ =
Throw
.IfNull(configure);
169
_ =
Throw
.IfNull(tags);
src\Shared\Data.Validation\TimeSpanAttribute.cs (3)
88
_ =
Throw
.IfNullOrWhitespace(min);
101
_ =
Throw
.IfNullOrWhitespace(min);
102
_ =
Throw
.IfNullOrWhitespace(max);