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