File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public static LazyCacheEntryOptions WithImmediateAbsoluteExpiration(DateTimeOffs
1414 return new LazyCacheEntryOptions
1515 {
1616 AbsoluteExpiration = absoluteExpiration ,
17- ExpirationMode = ExpirationMode . ImmediateExpiration ,
17+ ExpirationMode = ExpirationMode . ImmediateEviction ,
1818 ImmediateAbsoluteExpirationRelativeToNow = delay
1919 } ;
2020 }
@@ -24,7 +24,7 @@ public static LazyCacheEntryOptions WithImmediateAbsoluteExpiration(TimeSpan abs
2424 return new LazyCacheEntryOptions
2525 {
2626 AbsoluteExpirationRelativeToNow = absoluteExpiration ,
27- ExpirationMode = ExpirationMode . ImmediateExpiration ,
27+ ExpirationMode = ExpirationMode . ImmediateEviction ,
2828 ImmediateAbsoluteExpirationRelativeToNow = absoluteExpiration
2929 } ;
3030 }
You can’t perform that action at this time.
0 commit comments