18 references to Value
Microsoft.AspNetCore.Components.WebAssembly.Server (3)
ContentEncodingNegotiator.cs (3)
58var encodingName = encoding.Value; 106if ((preferredEncoding == encoding.Value || encoding.Value == "*") && ResourceExists(context, _encodingExtensionMap[preferredEncoding]))
Microsoft.AspNetCore.HeaderParsing.Tests (3)
ParserTests.cs (3)
245Assert.Equal("en-US", result[0].Value); 255Assert.Equal("en-US", result[0].Value); 256Assert.Equal("en", result[1].Value);
Microsoft.AspNetCore.Localization (1)
AcceptLanguageHeaderRequestCultureProvider.cs (1)
44.Select(x => x.Value).ToList();
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\TextOutputFormatter.cs (1)
199var charset = acceptValues[i].Value;
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\TextOutputFormatterTests.cs (1)
254Assert.Equal(expectedValue, Assert.Single(result).Value.Value);
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionProvider.cs (1)
98var encodingName = encoding.Value;
Microsoft.AspNetCore.Routing (2)
Matching\NegotiationMatcherPolicy.cs (2)
120if (MemoryExtensions.Equals(metadata.AsSpan(), value.Value.AsSpan(), StringComparison.OrdinalIgnoreCase)) 430var valueToken = value.Value.Value ?? null;
Microsoft.Net.Http.Headers (4)
StringWithQualityHeaderValueComparer.cs (4)
58if (!StringSegment.Equals(stringWithQuality1.Value, stringWithQuality2.Value, StringComparison.OrdinalIgnoreCase)) 60if (StringSegment.Equals(stringWithQuality1.Value, Any, StringComparison.Ordinal)) 64else if (StringSegment.Equals(stringWithQuality2.Value, Any, StringComparison.Ordinal))
Microsoft.Net.Http.Headers.Tests (2)
StringWithQualityHeaderValueTest.cs (2)
12Assert.Equal("token", value.Value.AsSpan()); 24Assert.Equal("token", value.Value.AsSpan());