3 instantiations of TestHeaderValue
Microsoft.AspNetCore.Http.Extensions.Tests (3)
HeaderDictionaryTypeExtensionsTest.cs (3)
257
Assert.Equal(new[] { new
TestHeaderValue
() }.ToList(), results);
294
result = new
TestHeaderValue
();
308
results.Add(new
TestHeaderValue
());
14 references to TestHeaderValue
Microsoft.AspNetCore.Http.Extensions.Tests (14)
HeaderDictionaryTypeExtensionsTest.cs (14)
132
var
result = context.Request.GetTypedHeaders().Get<
TestHeaderValue
>("custom");
142
var
result = context.Request.GetTypedHeaders().Get<
TestHeaderValue
>("custom");
151
var
result = context.Request.GetTypedHeaders().Get<
TestHeaderValue
>("custom");
255
var results = context.Request.GetTypedHeaders().GetList<
TestHeaderValue
>("custom");
266
var results = context.Request.GetTypedHeaders().GetList<
TestHeaderValue
>("custom");
275
var results = context.Request.GetTypedHeaders().GetList<
TestHeaderValue
>("custom");
290
public static bool TryParse(string value, out
TestHeaderValue
result)
301
public static bool TryParseList(IList<string> values, out IList<
TestHeaderValue
> result)
303
var results = new List<
TestHeaderValue
>();
322
var
other = obj as
TestHeaderValue
;