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