94 references to StringValues
HeaderPropagationSample (1)
InMemory.FunctionalTests (3)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (10)
Binding\FormDataMapperTests.cs (10)
26var collection = new Dictionary<string, StringValues>() { ["value"] = new StringValues(value) };
46var collection = new Dictionary<string, StringValues>() { ["value"] = new StringValues(value) };
66var collection = new Dictionary<string, StringValues>() { ["value"] = new StringValues(value) };
119var collection = new Dictionary<string, StringValues>() { ["value"] = new StringValues("abc") };
136var collection = new Dictionary<string, StringValues>() { ["value"] = new StringValues("abc") };
162var collection = new Dictionary<string, StringValues>() { ["value"] = new StringValues(value) };
196var collection = new Dictionary<string, StringValues>() { ["value"] = new StringValues(value) };
213var collection = new Dictionary<string, StringValues>() { ["value.Slug"] = new StringValues(value) };
239var collection = new Dictionary<string, StringValues>() { ["value"] = new StringValues("(1,1)") };
257var collection = new Dictionary<string, StringValues>() { ["value"] = new StringValues("(1,1)") };
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Microsoft.AspNetCore.HeaderParsing.Tests (29)
Microsoft.AspNetCore.HeaderPropagation.Tests (1)
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks (2)
Microsoft.AspNetCore.Http.Abstractions.Tests (4)
QueryStringTests.cs (4)
82new KeyValuePair<string, StringValues>("key1", new StringValues("value1")),
83new KeyValuePair<string, StringValues>("key2", new StringValues("value2")),
84new KeyValuePair<string, StringValues>("key3", new StringValues("value3")),
86new KeyValuePair<string, StringValues>("key5", new StringValues("")),
Microsoft.AspNetCore.Http.Extensions (2)
Microsoft.AspNetCore.Http.Tests (1)
Microsoft.AspNetCore.HttpsPolicy (1)
Microsoft.AspNetCore.Mvc.Core.Test (3)
Microsoft.AspNetCore.OutputCaching (1)
Microsoft.AspNetCore.OutputCaching.Tests (2)
Microsoft.AspNetCore.ResponseCaching (1)
Microsoft.AspNetCore.ResponseCaching.Tests (2)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (8)
Microsoft.AspNetCore.WebUtilities (1)
Microsoft.Extensions.Primitives (10)
StringValues.cs (10)
55return new StringValues(value);
488return new StringValues(value);
513return new StringValues(value);
583public static bool Equals(string? left, StringValues right) => Equals(new StringValues(left), right);
591public static bool Equals(StringValues left, string? right) => Equals(left, new StringValues(right));
598public bool Equals(string? other) => Equals(this, new StringValues(other));
624public static bool operator ==(StringValues left, string? right) => Equals(left, new StringValues(right));
632public static bool operator !=(StringValues left, string? right) => !Equals(left, new StringValues(right));
635public static bool operator ==(string? left, StringValues right) => Equals(new StringValues(left), right);
643public static bool operator !=(string? left, StringValues right) => !Equals(new StringValues(left), right);
Microsoft.Net.Http.Headers.Tests (3)