478 references to Empty
Aspire.Dashboard.Tests (4)
BrowserSecurityHeadersMiddlewareTests.cs (4)
28Assert.NotEqual(StringValues.Empty, httpContext.Response.Headers.ContentSecurityPolicy); 43Assert.NotEqual(StringValues.Empty, httpContext.Response.Headers.ContentSecurityPolicy); 61Assert.NotEqual(StringValues.Empty, httpContext.Response.Headers.ContentSecurityPolicy); 77Assert.Equal(StringValues.Empty, httpContext.Response.Headers.ContentSecurityPolicy);
InMemory.FunctionalTests (3)
BadHttpRequestTests.cs (1)
166var receivedHost = StringValues.Empty;
Http2\Http2ConnectionTests.cs (1)
278Assert.Equal(StringValues.Empty, contentTypeValue2);
Http3\Http3ConnectionTests.cs (1)
486Assert.Equal(StringValues.Empty, contentTypeValue2);
InProcessWebSite (1)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (1)
482ctx.Request.Headers[headerName] = StringValues.Empty;
Microsoft.AspNetCore.Authentication.OAuth (2)
OAuthHandler.cs (2)
280if (location == StringValues.Empty) 286if (cookie == StringValues.Empty)
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
366if (location == StringValues.Empty) 372if (cookie == StringValues.Empty)
Microsoft.AspNetCore.HeaderPropagation.Tests (3)
HeaderPropagationMiddlewareTest.cs (3)
160Configuration.Headers.Add("in", (context) => StringValues.Empty); 174Configuration.Headers.Add("in", (context) => StringValues.Empty); 188Configuration.Headers.Add("in", (context) => StringValues.Empty);
Microsoft.AspNetCore.Hosting.Tests (2)
WebHostTests.cs (2)
1378get { return StringValues.Empty; } 1440value = StringValues.Empty;
Microsoft.AspNetCore.Http (9)
Features\RequestCookiesFeature.cs (1)
74_original = StringValues.Empty;
FormCollection.cs (3)
65/// or <see cref="StringValues.Empty"/> if the key is not present.</returns> 72return StringValues.Empty; 79return StringValues.Empty;
HeaderDictionary.cs (2)
73return StringValues.Empty; 81return StringValues.Empty;
QueryCollection.cs (2)
74return StringValues.Empty; 81return StringValues.Empty;
QueryCollectionInternal.cs (1)
35public StringValues this[string key] => TryGetValue(key, out var value) ? value : StringValues.Empty;
Microsoft.AspNetCore.Http.Abstractions (2)
Internal\ParsingHelpers.cs (2)
14return headers.TryGetValue(key, out value) ? value : StringValues.Empty; 46return headers.TryGetValue(key, out values) ? values : StringValues.Empty;
Microsoft.AspNetCore.Http.Extensions (2)
HeaderDictionaryTypeExtensions.cs (1)
104Headers.Append(name, StringValues.Empty);
RequestDelegateFactory.cs (1)
1937Expression.Condition(Expression.Equal(valueExpression, Expression.Convert(Expression.Constant(StringValues.Empty), parameter.ParameterType)),
Microsoft.AspNetCore.Http.Extensions.Tests (1)
QueryBuilderTests.cs (1)
78new KeyValuePair<string, StringValues>("key3", StringValues.Empty)
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\FormCollectionModelBinder.cs (1)
58public StringValues this[string key] => StringValues.Empty;
Microsoft.AspNetCore.Mvc.Core.Test (12)
ActionConstraints\HttpMethodActionConstraintTest.cs (1)
76httpContext.Request.Headers.Add("Origin", StringValues.Empty);
ModelBinding\EnumerableValueProviderTest.cs (11)
14{ "null_value", StringValues.Empty }, 16{ "prefix.null_value", StringValues.Empty }, 17{ "prefix.property1.property", StringValues.Empty }, 18{ "prefix.property2[index]", StringValues.Empty }, 19{ "prefix[index1]", StringValues.Empty }, 20{ "prefix[index1].property1", StringValues.Empty }, 21{ "prefix[index1].property2", StringValues.Empty }, 22{ "prefix[index2].property", StringValues.Empty }, 23{ "[index]", StringValues.Empty }, 24{ "[index].property", StringValues.Empty }, 25{ "[index][anotherIndex]", StringValues.Empty },
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsHttpMethodActionConstraintTest.cs (1)
92httpContext.Request.Headers.Add("Origin", StringValues.Empty);
Microsoft.AspNetCore.OutputCaching (2)
OutputCacheEntry.cs (1)
36values = StringValues.Empty;
OutputCacheEntryFormatter.cs (1)
282value = StringValues.Empty;
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCacheMiddlewareTests.cs (1)
502StringValues.Empty,
Microsoft.AspNetCore.ResponseCaching.Tests (1)
ResponseCachingMiddlewareTests.cs (1)
584StringValues.Empty,
Microsoft.AspNetCore.Security.Microbenchmarks (2)
ChunkingCookieManagerBenchmark.cs (2)
55_httpContext.Response.Headers[HeaderNames.SetCookie] = StringValues.Empty; 62_httpContext.Response.Headers[HeaderNames.SetCookie] = StringValues.Empty;
Microsoft.AspNetCore.Server.HttpSys (46)
RequestProcessing\Request.cs (1)
530Headers.ContentLength = StringValues.Empty;
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (2)
71return TryGetValue(key, out values) ? values : StringValues.Empty; 159_contentLengthText = StringValues.Empty;
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (2)
214_contentLengthText = StringValues.Empty; 224return TryGetValue(key, out var values) ? values : StringValues.Empty;
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (41)
76return _Accept.Count > 0 ? _Accept : StringValues.Empty; 100return _AcceptCharset.Count > 0 ? _AcceptCharset : StringValues.Empty; 124return _AcceptEncoding.Count > 0 ? _AcceptEncoding : StringValues.Empty; 148return _AcceptLanguage.Count > 0 ? _AcceptLanguage : StringValues.Empty; 172return _Allow.Count > 0 ? _Allow : StringValues.Empty; 196return _Authorization.Count > 0 ? _Authorization : StringValues.Empty; 220return _CacheControl.Count > 0 ? _CacheControl : StringValues.Empty; 244return _Connection.Count > 0 ? _Connection : StringValues.Empty; 268return _ContentEncoding.Count > 0 ? _ContentEncoding : StringValues.Empty; 292return _ContentLanguage.Count > 0 ? _ContentLanguage : StringValues.Empty; 316return _ContentLength.Count > 0 ? _ContentLength : StringValues.Empty; 340return _ContentLocation.Count > 0 ? _ContentLocation : StringValues.Empty; 364return _ContentMD5.Count > 0 ? _ContentMD5 : StringValues.Empty; 388return _ContentRange.Count > 0 ? _ContentRange : StringValues.Empty; 412return _ContentType.Count > 0 ? _ContentType : StringValues.Empty; 436return _Cookie.Count > 0 ? _Cookie : StringValues.Empty; 460return _Date.Count > 0 ? _Date : StringValues.Empty; 484return _Expect.Count > 0 ? _Expect : StringValues.Empty; 508return _Expires.Count > 0 ? _Expires : StringValues.Empty; 532return _From.Count > 0 ? _From : StringValues.Empty; 556return _Host.Count > 0 ? _Host : StringValues.Empty; 580return _IfMatch.Count > 0 ? _IfMatch : StringValues.Empty; 604return _IfModifiedSince.Count > 0 ? _IfModifiedSince : StringValues.Empty; 628return _IfNoneMatch.Count > 0 ? _IfNoneMatch : StringValues.Empty; 652return _IfRange.Count > 0 ? _IfRange : StringValues.Empty; 676return _IfUnmodifiedSince.Count > 0 ? _IfUnmodifiedSince : StringValues.Empty; 700return _KeepAlive.Count > 0 ? _KeepAlive : StringValues.Empty; 724return _LastModified.Count > 0 ? _LastModified : StringValues.Empty; 748return _MaxForwards.Count > 0 ? _MaxForwards : StringValues.Empty; 772return _Pragma.Count > 0 ? _Pragma : StringValues.Empty; 796return _ProxyAuthorization.Count > 0 ? _ProxyAuthorization : StringValues.Empty; 820return _Range.Count > 0 ? _Range : StringValues.Empty; 844return _Referer.Count > 0 ? _Referer : StringValues.Empty; 868return _TE.Count > 0 ? _TE : StringValues.Empty; 892return _Trailer.Count > 0 ? _Trailer : StringValues.Empty; 916return _TransferEncoding.Count > 0 ? _TransferEncoding : StringValues.Empty; 940return _Translate.Count > 0 ? _Translate : StringValues.Empty; 964return _Upgrade.Count > 0 ? _Upgrade : StringValues.Empty; 988return _UserAgent.Count > 0 ? _UserAgent : StringValues.Empty; 1012return _Via.Count > 0 ? _Via : StringValues.Empty; 1036return _Warning.Count > 0 ? _Warning : StringValues.Empty;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
Listener\RequestHeaderTests.cs (1)
171Assert.Equal(StringValues.Empty, requestHeaders["If-None-Match"]);
RequestBodyTests.cs (2)
267httpContext.Request.Headers[HeaderNames.ContentLength] = StringValues.Empty; 280httpContext.Request.Headers["Custom-Header"] = StringValues.Empty;
Microsoft.AspNetCore.Server.IIS (45)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (2)
71return TryGetValue(key, out values) ? values : StringValues.Empty; 159_contentLengthText = StringValues.Empty;
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (2)
214_contentLengthText = StringValues.Empty; 224return TryGetValue(key, out var values) ? values : StringValues.Empty;
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (41)
76return _Accept.Count > 0 ? _Accept : StringValues.Empty; 100return _AcceptCharset.Count > 0 ? _AcceptCharset : StringValues.Empty; 124return _AcceptEncoding.Count > 0 ? _AcceptEncoding : StringValues.Empty; 148return _AcceptLanguage.Count > 0 ? _AcceptLanguage : StringValues.Empty; 172return _Allow.Count > 0 ? _Allow : StringValues.Empty; 196return _Authorization.Count > 0 ? _Authorization : StringValues.Empty; 220return _CacheControl.Count > 0 ? _CacheControl : StringValues.Empty; 244return _Connection.Count > 0 ? _Connection : StringValues.Empty; 268return _ContentEncoding.Count > 0 ? _ContentEncoding : StringValues.Empty; 292return _ContentLanguage.Count > 0 ? _ContentLanguage : StringValues.Empty; 316return _ContentLength.Count > 0 ? _ContentLength : StringValues.Empty; 340return _ContentLocation.Count > 0 ? _ContentLocation : StringValues.Empty; 364return _ContentMD5.Count > 0 ? _ContentMD5 : StringValues.Empty; 388return _ContentRange.Count > 0 ? _ContentRange : StringValues.Empty; 412return _ContentType.Count > 0 ? _ContentType : StringValues.Empty; 436return _Cookie.Count > 0 ? _Cookie : StringValues.Empty; 460return _Date.Count > 0 ? _Date : StringValues.Empty; 484return _Expect.Count > 0 ? _Expect : StringValues.Empty; 508return _Expires.Count > 0 ? _Expires : StringValues.Empty; 532return _From.Count > 0 ? _From : StringValues.Empty; 556return _Host.Count > 0 ? _Host : StringValues.Empty; 580return _IfMatch.Count > 0 ? _IfMatch : StringValues.Empty; 604return _IfModifiedSince.Count > 0 ? _IfModifiedSince : StringValues.Empty; 628return _IfNoneMatch.Count > 0 ? _IfNoneMatch : StringValues.Empty; 652return _IfRange.Count > 0 ? _IfRange : StringValues.Empty; 676return _IfUnmodifiedSince.Count > 0 ? _IfUnmodifiedSince : StringValues.Empty; 700return _KeepAlive.Count > 0 ? _KeepAlive : StringValues.Empty; 724return _LastModified.Count > 0 ? _LastModified : StringValues.Empty; 748return _MaxForwards.Count > 0 ? _MaxForwards : StringValues.Empty; 772return _Pragma.Count > 0 ? _Pragma : StringValues.Empty; 796return _ProxyAuthorization.Count > 0 ? _ProxyAuthorization : StringValues.Empty; 820return _Range.Count > 0 ? _Range : StringValues.Empty; 844return _Referer.Count > 0 ? _Referer : StringValues.Empty; 868return _TE.Count > 0 ? _TE : StringValues.Empty; 892return _Trailer.Count > 0 ? _Trailer : StringValues.Empty; 916return _TransferEncoding.Count > 0 ? _TransferEncoding : StringValues.Empty; 940return _Translate.Count > 0 ? _Translate : StringValues.Empty; 964return _Upgrade.Count > 0 ? _Upgrade : StringValues.Empty; 988return _UserAgent.Count > 0 ? _UserAgent : StringValues.Empty; 1012return _Via.Count > 0 ? _Via : StringValues.Empty; 1036return _Warning.Count > 0 ? _Warning : StringValues.Empty;
Microsoft.AspNetCore.Server.IISIntegration (2)
ForwardedTlsConnectionFeature.cs (2)
27if (_certificate == null && _header != StringValues.Empty) 44_header = StringValues.Empty;
Microsoft.AspNetCore.Server.Kestrel.Core (282)
Internal\Http\HttpHeaders.cs (1)
55return StringValues.Empty;
Internal\Http\HttpHeaders.Generated.cs (281)
396return StringValues.Empty; 420return StringValues.Empty; 444return StringValues.Empty; 468return StringValues.Empty; 492return StringValues.Empty; 516return StringValues.Empty; 540return StringValues.Empty; 564return StringValues.Empty; 588return StringValues.Empty; 605return StringValues.Empty; 633return StringValues.Empty; 661return StringValues.Empty; 689return StringValues.Empty; 717return StringValues.Empty; 745return StringValues.Empty; 773return StringValues.Empty; 801return StringValues.Empty; 829return StringValues.Empty; 857return StringValues.Empty; 885return StringValues.Empty; 913return StringValues.Empty; 941return StringValues.Empty; 969return StringValues.Empty; 997return StringValues.Empty; 1025return StringValues.Empty; 1053return StringValues.Empty; 1081return StringValues.Empty; 1109return StringValues.Empty; 1137return StringValues.Empty; 1165return StringValues.Empty; 1193return StringValues.Empty; 1221return StringValues.Empty; 1249return StringValues.Empty; 1277return StringValues.Empty; 1305return StringValues.Empty; 1333return StringValues.Empty; 1361return StringValues.Empty; 1389return StringValues.Empty; 1417return StringValues.Empty; 1445return StringValues.Empty; 1473return StringValues.Empty; 1501return StringValues.Empty; 1529return StringValues.Empty; 1557return StringValues.Empty; 1585return StringValues.Empty; 1613return StringValues.Empty; 1641return StringValues.Empty; 1669return StringValues.Empty; 1697return StringValues.Empty; 1725return StringValues.Empty; 1753return StringValues.Empty; 1781return StringValues.Empty; 1808value = StringValues.Empty; 1825value = StringValues.Empty; 1842value = StringValues.Empty; 1859value = StringValues.Empty; 1876value = StringValues.Empty; 1893value = StringValues.Empty; 1910value = StringValues.Empty; 1927value = StringValues.Empty; 1944value = StringValues.Empty; 1961value = StringValues.Empty; 1978value = StringValues.Empty; 1995value = StringValues.Empty; 2012value = StringValues.Empty; 2029value = StringValues.Empty; 2046value = StringValues.Empty; 2063value = StringValues.Empty; 2080value = StringValues.Empty; 2097value = StringValues.Empty; 2114value = StringValues.Empty; 2131value = StringValues.Empty; 2148value = StringValues.Empty; 2165value = StringValues.Empty; 2182value = StringValues.Empty; 2199value = StringValues.Empty; 2216value = StringValues.Empty; 2233value = StringValues.Empty; 2250value = StringValues.Empty; 2267value = StringValues.Empty; 2284value = StringValues.Empty; 2301value = StringValues.Empty; 2318value = StringValues.Empty; 2335value = StringValues.Empty; 2352value = StringValues.Empty; 2369value = StringValues.Empty; 2386value = StringValues.Empty; 2403value = StringValues.Empty; 2420value = StringValues.Empty; 2437value = StringValues.Empty; 2454value = StringValues.Empty; 2471value = StringValues.Empty; 2488value = StringValues.Empty; 2505value = StringValues.Empty; 2522value = StringValues.Empty; 2539value = StringValues.Empty; 2556value = StringValues.Empty; 2573value = StringValues.Empty; 8706return StringValues.Empty; 8731return StringValues.Empty; 8755return StringValues.Empty; 8780return StringValues.Empty; 8805return StringValues.Empty; 8822return StringValues.Empty; 8852return StringValues.Empty; 8881return StringValues.Empty; 8911return StringValues.Empty; 8941return StringValues.Empty; 8970return StringValues.Empty; 8999return StringValues.Empty; 9028return StringValues.Empty; 9057return StringValues.Empty; 9086return StringValues.Empty; 9115return StringValues.Empty; 9144return StringValues.Empty; 9173return StringValues.Empty; 9202return StringValues.Empty; 9232return StringValues.Empty; 9261return StringValues.Empty; 9290return StringValues.Empty; 9319return StringValues.Empty; 9348return StringValues.Empty; 9377return StringValues.Empty; 9406return StringValues.Empty; 9435return StringValues.Empty; 9464return StringValues.Empty; 9493return StringValues.Empty; 9522return StringValues.Empty; 9551return StringValues.Empty; 9580return StringValues.Empty; 9609return StringValues.Empty; 9638return StringValues.Empty; 9667return StringValues.Empty; 9696return StringValues.Empty; 9725return StringValues.Empty; 9754return StringValues.Empty; 9784return StringValues.Empty; 9813return StringValues.Empty; 9842return StringValues.Empty; 9871return StringValues.Empty; 9900return StringValues.Empty; 9928value = StringValues.Empty; 9946value = StringValues.Empty; 9964value = StringValues.Empty; 9982value = StringValues.Empty; 10000value = StringValues.Empty; 10018value = StringValues.Empty; 10036value = StringValues.Empty; 10054value = StringValues.Empty; 10072value = StringValues.Empty; 10090value = StringValues.Empty; 10108value = StringValues.Empty; 10126value = StringValues.Empty; 10144value = StringValues.Empty; 10162value = StringValues.Empty; 10180value = StringValues.Empty; 10198value = StringValues.Empty; 10216value = StringValues.Empty; 10234value = StringValues.Empty; 10252value = StringValues.Empty; 10270value = StringValues.Empty; 10288value = StringValues.Empty; 10306value = StringValues.Empty; 10324value = StringValues.Empty; 10342value = StringValues.Empty; 10360value = StringValues.Empty; 10378value = StringValues.Empty; 10396value = StringValues.Empty; 10414value = StringValues.Empty; 10432value = StringValues.Empty; 10450value = StringValues.Empty; 10468value = StringValues.Empty; 10486value = StringValues.Empty; 10504value = StringValues.Empty; 10522value = StringValues.Empty; 10540value = StringValues.Empty; 10558value = StringValues.Empty; 10576value = StringValues.Empty; 10594value = StringValues.Empty; 10612value = StringValues.Empty; 10630value = StringValues.Empty; 10648value = StringValues.Empty; 10666value = StringValues.Empty; 10684value = StringValues.Empty; 10702value = StringValues.Empty; 10720value = StringValues.Empty; 10738value = StringValues.Empty; 10756value = StringValues.Empty; 10774value = StringValues.Empty; 10792value = StringValues.Empty; 10810value = StringValues.Empty; 10828value = StringValues.Empty; 15539return StringValues.Empty; 15568return StringValues.Empty; 15597return StringValues.Empty; 15625value = StringValues.Empty; 15643value = StringValues.Empty; 15661value = StringValues.Empty; 15679value = StringValues.Empty; 15697value = StringValues.Empty; 15715value = StringValues.Empty; 15733value = StringValues.Empty; 15751value = StringValues.Empty; 15769value = StringValues.Empty; 15787value = StringValues.Empty; 15805value = StringValues.Empty; 15823value = StringValues.Empty; 15841value = StringValues.Empty; 15859value = StringValues.Empty; 15877value = StringValues.Empty; 15895value = StringValues.Empty; 15913value = StringValues.Empty; 15931value = StringValues.Empty; 15949value = StringValues.Empty; 15967value = StringValues.Empty; 15985value = StringValues.Empty; 16003value = StringValues.Empty; 16021value = StringValues.Empty; 16039value = StringValues.Empty; 16057value = StringValues.Empty; 16075value = StringValues.Empty; 16093value = StringValues.Empty; 16111value = StringValues.Empty; 16129value = StringValues.Empty; 16147value = StringValues.Empty; 16165value = StringValues.Empty; 16183value = StringValues.Empty; 16201value = StringValues.Empty; 16219value = StringValues.Empty; 16237value = StringValues.Empty; 16255value = StringValues.Empty; 16273value = StringValues.Empty; 16291value = StringValues.Empty; 16309value = StringValues.Empty; 16327value = StringValues.Empty; 16345value = StringValues.Empty; 16363value = StringValues.Empty; 16381value = StringValues.Empty; 16399value = StringValues.Empty; 16417value = StringValues.Empty; 16435value = StringValues.Empty; 16453value = StringValues.Empty; 16471value = StringValues.Empty; 16489value = StringValues.Empty; 16507value = StringValues.Empty; 16525value = StringValues.Empty; 16543value = StringValues.Empty; 16561value = StringValues.Empty; 16579value = StringValues.Empty; 16597value = StringValues.Empty; 16615value = StringValues.Empty; 16633value = StringValues.Empty; 16651value = StringValues.Empty; 16669value = StringValues.Empty; 16687value = StringValues.Empty; 16705value = StringValues.Empty; 16723value = StringValues.Empty; 16741value = StringValues.Empty; 16759value = StringValues.Empty; 16777value = StringValues.Empty; 16795value = StringValues.Empty; 16813value = StringValues.Empty; 16831value = StringValues.Empty; 16849value = StringValues.Empty; 16867value = StringValues.Empty; 16885value = StringValues.Empty; 16903value = StringValues.Empty; 16921value = StringValues.Empty; 16939value = StringValues.Empty; 16957value = StringValues.Empty; 16975value = StringValues.Empty; 16993value = StringValues.Empty; 17011value = StringValues.Empty; 17029value = StringValues.Empty; 17047value = StringValues.Empty; 17065value = StringValues.Empty; 17083value = StringValues.Empty; 17101value = StringValues.Empty; 17119value = StringValues.Empty; 17137value = StringValues.Empty; 17155value = StringValues.Empty;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
HttpRequestHeadersTests.cs (1)
146Assert.Equal(StringValues.Empty, methodValue);
Microsoft.AspNetCore.Shared.Tests (45)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (2)
71return TryGetValue(key, out values) ? values : StringValues.Empty; 159_contentLengthText = StringValues.Empty;
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (2)
214_contentLengthText = StringValues.Empty; 224return TryGetValue(key, out var values) ? values : StringValues.Empty;
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (41)
76return _Accept.Count > 0 ? _Accept : StringValues.Empty; 100return _AcceptCharset.Count > 0 ? _AcceptCharset : StringValues.Empty; 124return _AcceptEncoding.Count > 0 ? _AcceptEncoding : StringValues.Empty; 148return _AcceptLanguage.Count > 0 ? _AcceptLanguage : StringValues.Empty; 172return _Allow.Count > 0 ? _Allow : StringValues.Empty; 196return _Authorization.Count > 0 ? _Authorization : StringValues.Empty; 220return _CacheControl.Count > 0 ? _CacheControl : StringValues.Empty; 244return _Connection.Count > 0 ? _Connection : StringValues.Empty; 268return _ContentEncoding.Count > 0 ? _ContentEncoding : StringValues.Empty; 292return _ContentLanguage.Count > 0 ? _ContentLanguage : StringValues.Empty; 316return _ContentLength.Count > 0 ? _ContentLength : StringValues.Empty; 340return _ContentLocation.Count > 0 ? _ContentLocation : StringValues.Empty; 364return _ContentMD5.Count > 0 ? _ContentMD5 : StringValues.Empty; 388return _ContentRange.Count > 0 ? _ContentRange : StringValues.Empty; 412return _ContentType.Count > 0 ? _ContentType : StringValues.Empty; 436return _Cookie.Count > 0 ? _Cookie : StringValues.Empty; 460return _Date.Count > 0 ? _Date : StringValues.Empty; 484return _Expect.Count > 0 ? _Expect : StringValues.Empty; 508return _Expires.Count > 0 ? _Expires : StringValues.Empty; 532return _From.Count > 0 ? _From : StringValues.Empty; 556return _Host.Count > 0 ? _Host : StringValues.Empty; 580return _IfMatch.Count > 0 ? _IfMatch : StringValues.Empty; 604return _IfModifiedSince.Count > 0 ? _IfModifiedSince : StringValues.Empty; 628return _IfNoneMatch.Count > 0 ? _IfNoneMatch : StringValues.Empty; 652return _IfRange.Count > 0 ? _IfRange : StringValues.Empty; 676return _IfUnmodifiedSince.Count > 0 ? _IfUnmodifiedSince : StringValues.Empty; 700return _KeepAlive.Count > 0 ? _KeepAlive : StringValues.Empty; 724return _LastModified.Count > 0 ? _LastModified : StringValues.Empty; 748return _MaxForwards.Count > 0 ? _MaxForwards : StringValues.Empty; 772return _Pragma.Count > 0 ? _Pragma : StringValues.Empty; 796return _ProxyAuthorization.Count > 0 ? _ProxyAuthorization : StringValues.Empty; 820return _Range.Count > 0 ? _Range : StringValues.Empty; 844return _Referer.Count > 0 ? _Referer : StringValues.Empty; 868return _TE.Count > 0 ? _TE : StringValues.Empty; 892return _Trailer.Count > 0 ? _Trailer : StringValues.Empty; 916return _TransferEncoding.Count > 0 ? _TransferEncoding : StringValues.Empty; 940return _Translate.Count > 0 ? _Translate : StringValues.Empty; 964return _Upgrade.Count > 0 ? _Upgrade : StringValues.Empty; 988return _UserAgent.Count > 0 ? _UserAgent : StringValues.Empty; 1012return _Via.Count > 0 ? _Via : StringValues.Empty; 1036return _Warning.Count > 0 ? _Warning : StringValues.Empty;
Microsoft.AspNetCore.WebUtilities.Tests (1)
QueryHelpersTests.cs (1)
195{ "param3", StringValues.Empty }
Microsoft.Extensions.Primitives (2)
StringValues.cs (2)
71/// Returns <see langword="null"/> where <see cref="StringValues"/> has been initialized from an empty string array or is <see cref="StringValues.Empty"/>. 711return Equals(this, StringValues.Empty);