10 writes to MaxAge
Microsoft.AspNetCore.Http.Features (1)
CookieOptions.cs (1)
120
MaxAge
= MaxAge,
Microsoft.Net.Http.Headers (1)
SetCookieHeaderValue.cs (1)
590
result.
MaxAge
= TimeSpan.FromSeconds(maxAge);
Microsoft.Net.Http.Headers.Tests (8)
SetCookieHeaderValueTest.cs (8)
21
MaxAge
= TimeSpan.FromDays(1),
37
MaxAge
= TimeSpan.FromDays(1),
67
MaxAge
= TimeSpan.FromDays(-1),
73
MaxAge
= TimeSpan.FromDays(0),
138
MaxAge
= TimeSpan.FromDays(1),
152
MaxAge
= TimeSpan.FromDays(1),
241
MaxAge
= TimeSpan.FromDays(1),
252
MaxAge
= TimeSpan.FromDays(1),
8 references to MaxAge
Microsoft.Net.Http.Headers (8)
SetCookieHeaderValue.cs (8)
201
if (
MaxAge
.HasValue)
203
maxAge = HeaderUtilities.FormatInt64((long)
MaxAge
.GetValueOrDefault().TotalSeconds);
348
if (
MaxAge
.HasValue)
350
AppendSegment(builder, MaxAgeToken, HeaderUtilities.FormatInt64((long)
MaxAge
.GetValueOrDefault().TotalSeconds));
726
&&
MaxAge
.Equals(other.
MaxAge
)
741
^ (
MaxAge
.HasValue ?
MaxAge
.GetHashCode() : 0)