2 writes to ResponseTime
Microsoft.AspNetCore.ResponseCaching (2)
ResponseCachingMiddleware.cs (2)
145
context.
ResponseTime
= _options.TimeProvider.GetUtcNow();
377
context.
ResponseTime
= _options.TimeProvider.GetUtcNow();
10 references to ResponseTime
Microsoft.AspNetCore.ResponseCaching (10)
ResponseCachingMiddleware.cs (3)
146
var cachedEntryAge = context.
ResponseTime
.Value - context.CachedResponse.Created;
260
(context.ResponseExpires - context.
ResponseTime
!.Value) ??
299
context.ResponseDate = context.
ResponseTime
!.Value;
ResponseCachingPolicyProvider.cs (7)
127
context.
ResponseTime
!.Value >= context.ResponseExpires)
129
context.Logger.ExpirationExpiresExceeded(context.
ResponseTime
.Value, context.ResponseExpires.Value);
135
var age = context.
ResponseTime
!.Value - context.ResponseDate.Value;
154
if (context.
ResponseTime
.Value >= context.ResponseExpires)
156
context.Logger.ExpirationExpiresExceeded(context.
ResponseTime
.Value, context.ResponseExpires.Value);
235
context.
ResponseTime
!.Value >= expires)
237
context.Logger.ExpirationExpiresExceeded(context.
ResponseTime
.Value, expires);