38 references to EntityTagHeaderValue
Microsoft.AspNetCore.Mvc.Core.Test (3)
FileResultHelperTest.cs (3)
260
new
EntityTagHeaderValue
(ifNoneMatch, isWeak),
300
new
EntityTagHeaderValue
(ifNoneMatch, isWeak),
338
new
EntityTagHeaderValue
(ifNoneMatch, isWeak),
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheMiddlewareTests.cs (4)
310
{ new
EntityTagHeaderValue
("\"tag\"", true), new EntityTagHeaderValue("\"tag\"") },
311
{ new EntityTagHeaderValue("\"tag\""), new
EntityTagHeaderValue
("\"tag\"", true) },
312
{ new
EntityTagHeaderValue
("\"tag\"", true), new
EntityTagHeaderValue
("\"tag\"", true) }
Microsoft.AspNetCore.ResponseCaching.Tests (4)
ResponseCachingMiddlewareTests.cs (4)
307
{ new
EntityTagHeaderValue
("\"tag\"", true), new EntityTagHeaderValue("\"tag\"") },
308
{ new EntityTagHeaderValue("\"tag\""), new
EntityTagHeaderValue
("\"tag\"", true) },
309
{ new
EntityTagHeaderValue
("\"tag\"", true), new
EntityTagHeaderValue
("\"tag\"", true) }
Microsoft.Net.Http.Headers (2)
EntityTagHeaderValue.cs (2)
39
:
this
(tag, isWeak: false)
75
public static EntityTagHeaderValue Any { get; } = new
EntityTagHeaderValue
("*", isWeak: false);
Microsoft.Net.Http.Headers.Tests (25)
EntityTagHeaderValueTest.cs (19)
42
var etag = new
EntityTagHeaderValue
("\"e tag\"", true);
53
etag = new
EntityTagHeaderValue
("\"e tag\"", true);
56
etag = new
EntityTagHeaderValue
("\"\"", false);
65
var etag3 = new
EntityTagHeaderValue
("\"tag\"", true);
82
var etag3 = new
EntityTagHeaderValue
("\"tag\"", true);
111
{ new
EntityTagHeaderValue
("\"tag\"", true), new
EntityTagHeaderValue
("\"tag\"", true) },
112
{ new EntityTagHeaderValue("\"tag\""), new
EntityTagHeaderValue
("\"tag\"", true) },
174
{ new
EntityTagHeaderValue
("\"tag\"", true), new
EntityTagHeaderValue
("\"tag\"", true) },
175
{ new EntityTagHeaderValue("\"tag\""), new
EntityTagHeaderValue
("\"tag\"", true) },
196
CheckValidParse("W/\"tag\"", new
EntityTagHeaderValue
("\"tag\"", true));
225
CheckValidTryParse("W/\"tag\"", new
EntityTagHeaderValue
("\"tag\"", true));
294
new
EntityTagHeaderValue
("\"tag\"", true),
327
new
EntityTagHeaderValue
("\"tag\"", true),
359
new
EntityTagHeaderValue
("\"tag\"", true),
391
new
EntityTagHeaderValue
("\"tag\"", true),
421
new
EntityTagHeaderValue
("\"tag\"", true),
469
new
EntityTagHeaderValue
("\"tag\"", true),
RangeConditionHeaderValueTest.cs (6)
60
new
EntityTagHeaderValue
("\"x\"", true));
81
new
EntityTagHeaderValue
("\"x\"", true));
100
CheckValidParse(" W/ \"tag\" ", new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"tag\"", true)));
101
CheckValidParse(" w/\"tag\"", new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"tag\"", true)));
129
CheckValidTryParse(" W/ \"tag\" ", new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"tag\"", true)));
130
CheckValidTryParse(" w/\"tag\"", new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"tag\"", true)));