@@ -145,7 +145,7 @@ public async void ServesCachedContent_IfVaryByParams_Matches()
145145 } ;
146146 headers . Date = DateTimeOffset . UtcNow ;
147147 headers . Headers [ "X-Value" ] = uniqueId ;
148- context . GetResponseCachingOptions ( ) . Params = "param" ;
148+ context . GetResponseCachingFeature ( ) . Params = "param" ;
149149 await context . Response . WriteAsync ( uniqueId ) ;
150150 } ) ;
151151
@@ -182,7 +182,7 @@ public async void ServesCachedContent_IfVaryByParamsExplicit_Matches_ParamNameCa
182182 } ;
183183 headers . Date = DateTimeOffset . UtcNow ;
184184 headers . Headers [ "X-Value" ] = uniqueId ;
185- context . GetResponseCachingOptions ( ) . Params = new [ ] { "ParamA" , "paramb" } ;
185+ context . GetResponseCachingFeature ( ) . Params = new [ ] { "ParamA" , "paramb" } ;
186186 await context . Response . WriteAsync ( uniqueId ) ;
187187 } ) ;
188188
@@ -219,7 +219,7 @@ public async void ServesCachedContent_IfVaryByParamsStar_Matches_ParamNameCaseIn
219219 } ;
220220 headers . Date = DateTimeOffset . UtcNow ;
221221 headers . Headers [ "X-Value" ] = uniqueId ;
222- context . GetResponseCachingOptions ( ) . Params = new [ ] { "*" } ;
222+ context . GetResponseCachingFeature ( ) . Params = new [ ] { "*" } ;
223223 await context . Response . WriteAsync ( uniqueId ) ;
224224 } ) ;
225225
@@ -247,7 +247,7 @@ public async void ServesCachedContent_IfVaryByParamsExplicit_Matches_OrderInsens
247247 } ;
248248 headers . Date = DateTimeOffset . UtcNow ;
249249 headers . Headers [ "X-Value" ] = uniqueId ;
250- context . GetResponseCachingOptions ( ) . Params = new [ ] { "ParamB" , "ParamA" } ;
250+ context . GetResponseCachingFeature ( ) . Params = new [ ] { "ParamB" , "ParamA" } ;
251251 await context . Response . WriteAsync ( uniqueId ) ;
252252 } ) ;
253253
@@ -275,7 +275,7 @@ public async void ServesCachedContent_IfVaryByParamsStar_Matches_OrderInsensitiv
275275 } ;
276276 headers . Date = DateTimeOffset . UtcNow ;
277277 headers . Headers [ "X-Value" ] = uniqueId ;
278- context . GetResponseCachingOptions ( ) . Params = new [ ] { "*" } ;
278+ context . GetResponseCachingFeature ( ) . Params = new [ ] { "*" } ;
279279 await context . Response . WriteAsync ( uniqueId ) ;
280280 } ) ;
281281
@@ -303,7 +303,7 @@ public async void ServesFreshContent_IfVaryByParams_Mismatches()
303303 } ;
304304 headers . Date = DateTimeOffset . UtcNow ;
305305 headers . Headers [ "X-Value" ] = uniqueId ;
306- context . GetResponseCachingOptions ( ) . Params = "param" ;
306+ context . GetResponseCachingFeature ( ) . Params = "param" ;
307307 await context . Response . WriteAsync ( uniqueId ) ;
308308 } ) ;
309309
@@ -331,7 +331,7 @@ public async void ServesFreshContent_IfVaryByParamsExplicit_Mismatch_ParamValueC
331331 } ;
332332 headers . Date = DateTimeOffset . UtcNow ;
333333 headers . Headers [ "X-Value" ] = uniqueId ;
334- context . GetResponseCachingOptions ( ) . Params = new [ ] { "ParamA" , "ParamB" } ;
334+ context . GetResponseCachingFeature ( ) . Params = new [ ] { "ParamA" , "ParamB" } ;
335335 await context . Response . WriteAsync ( uniqueId ) ;
336336 } ) ;
337337
@@ -359,7 +359,7 @@ public async void ServesFreshContent_IfVaryByParamsStar_Mismatch_ParamValueCaseS
359359 } ;
360360 headers . Date = DateTimeOffset . UtcNow ;
361361 headers . Headers [ "X-Value" ] = uniqueId ;
362- context . GetResponseCachingOptions ( ) . Params = new [ ] { "*" } ;
362+ context . GetResponseCachingFeature ( ) . Params = new [ ] { "*" } ;
363363 await context . Response . WriteAsync ( uniqueId ) ;
364364 } ) ;
365365
0 commit comments