9 references to Set
Microsoft.AspNetCore.Components.WebAssembly (3)
Http\WebAssemblyHttpRequestMessageExtensions.cs (3)
127
requestMessage.Options.
Set
(FetchRequestOptionsKey, fetchOptions);
150
requestMessage.Options.
Set
(WebAssemblyEnableStreamingRequestKey, streamingEnabled);
169
requestMessage.Options.
Set
(WebAssemblyEnableStreamingResponseKey, streamingEnabled);
Microsoft.AspNetCore.Mvc.Testing (1)
Handlers\RedirectHandler.cs (1)
163
redirect.Options.
Set
(key, property.Value);
Microsoft.Extensions.Http.Polly.Tests (3)
HttpRequestMessageExtensionsTest.cs (3)
21
request.Options.
Set
(new HttpRequestOptionsKey<Context>(HttpRequestMessageExtensions.PolicyExecutionContextKey), expected);
52
request.Options.
Set
(new HttpRequestOptionsKey<Context>(HttpRequestMessageExtensions.PolicyExecutionContextKey), null);
91
request.Options.
Set
(new HttpRequestOptionsKey<Context>(HttpRequestMessageExtensions.PolicyExecutionContextKey), new Context(Guid.NewGuid().ToString()));
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
HttpResilienceBenchmark.cs (1)
28
request.Options.
Set
(new HttpRequestOptionsKey<string>("dummy"), "dummy");
System.Net.Http (1)
System\Net\Http\Metrics\HttpMetricsEnrichmentContext.cs (1)
96
options.
Set
(s_optionsKeyForContext, context);