12 references to IfNull
Microsoft.AspNetCore.HeaderParsing (12)
HeaderParsingFeature.cs (1)
60
_ = Throw.
IfNull
(header);
HeaderParsingHttpRequestExtensions.cs (5)
23
var context = Throw.
IfNull
(request).HttpContext;
48
return Throw.
IfNull
(request)
50
.TryGetHeaderValue(Throw.
IfNull
(header), out value);
65
return Throw.
IfNull
(request)
67
.TryGetHeaderValue(Throw.
IfNull
(header), out value, out result);
HeaderParsingServiceCollectionExtensions.cs (3)
26
if (!Throw.
IfNull
(services).Any(x => x.ServiceType == typeof(HeaderParsingFeature.PoolHelper)))
49
_ = Throw.
IfNull
(services);
67
_ = Throw.
IfNull
(services);
HeaderSetup.cs (2)
47
ParserType = Throw.
IfNull
(parserType);
60
ParserInstance = Throw.
IfNull
(instance);
HostHeaderValue.cs (1)
23
Host = Throw.
IfNull
(host);